i2c: stm32f7: fix clearing the control register
authorJorge Ramirez-Ortiz <jorge@foundries.io>
Mon, 15 Aug 2022 14:52:10 +0000 (16:52 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 15 Sep 2022 12:58:49 +0000 (14:58 +0200)
commit9ef530f196b78875d4048f2bdb9c6d33ce860088
treebe64b42e25048dc7d7240cfa35f314533568eb07
parentda6fe6b0630413849d74909e05368c5f4a4d4a67
i2c: stm32f7: fix clearing the control register

Bits should be set to 0, not 1.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/i2c/stm32f7_i2c.c