]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: stm32: fix comment and remove unused AUTOEND bit
authorAlain Volmat <alain.volmat@foss.st.com>
Mon, 12 Sep 2022 08:41:58 +0000 (10:41 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 15 Sep 2022 12:58:52 +0000 (14:58 +0200)
commit7e99605ce10b7e79b3f9726cf8be8fc87eef9baa
treea6b4d1d4f49c4f46089c57eb437729ede19e0066
parent82bc9036fd043629d90a25bfbee2d36174e32b8e
i2c: stm32: fix comment and remove unused AUTOEND bit

Comment within stm32_i2c_message_start is misleading, indicating
that AUTOEND bit is setted while it is actually cleared.
Moreover, the bit is actually never setted so there is no need
to clear it hence get rid of this bit clear and the bit macro
as well.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/i2c/stm32f7_i2c.c