]> git.dujemihanovic.xyz Git - u-boot.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)
commit923d80288a32b999de3ec51181c46c93f01f953a
treea6b4d1d4f49c4f46089c57eb437729ede19e0066
parent9ef530f196b78875d4048f2bdb9c6d33ce860088
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