Skip to content
Commit 923d8028 authored by Alain Volmat's avatar Alain Volmat Committed by Patrick Delaunay
Browse files

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: default avatarAlain Volmat <alain.volmat@foss.st.com>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent 9ef530f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment