]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: rcar_i2c: Fix sending of slave addresses
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Thu, 7 Mar 2019 18:00:52 +0000 (18:00 +0000)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Mar 2019 04:53:17 +0000 (05:53 +0100)
commit3ad31eb1cc6ed4b9a54529df5a30c8321a0ec0de
treeb5a10bca49b61f639f7d5ca6620938326aa77a82
parent3b59eaef4fa6139b86203db55b2e90aad1befa61
i2c: rcar_i2c: Fix sending of slave addresses

Do the reset before clearing the MSR, otherwise it may result in a read
or write operation instead if the start condition is repeated.

Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/rcar_i2c.c