]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c:designware Turn off the ctrl when setting the speed
authorArmando Visconti <armando.visconti@st.com>
Thu, 29 Mar 2012 20:10:17 +0000 (20:10 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 24 Apr 2012 07:57:00 +0000 (09:57 +0200)
commit5e3e8dda51c46faedb124c0ffd6136e2ef09ae52
tree9089a5c1e0322da753296e9147288ed27353d97d
parent031ed2fa748ccfc746bd0e0073f8690c84a0d7b6
i2c:designware Turn off the ctrl when setting the speed

The designware i2c controller must be turned off before
setting the speed in IC_CON register, as stated in the
section 6.3.1 of the dw_apb_i2c_db.pdf.

Signed-off-by: Michel Sanches <michel.sanches@st.com>
Signed-off-by: Armando Visconti <armando.visconti@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
drivers/i2c/designware_i2c.c