commit | eb01597158ffb1853a7a7fc2c57d4c844640f75e | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Sat Jul 04 15:38:29 2020 +0200 |
committer | Wolfram Sang <wsa@kernel.org> | Thu Jul 23 22:25:18 2020 +0200 |
tree | fc036b7772f2ae2e5ebee8bd6390101e428336ef | |
parent | 436d17675be1c090f08d4eddf1d7193cacf0e9be [diff] |
i2c: rcar: always clear ICSAR to avoid side effects On R-Car Gen2, we get a timeout when reading from the address set in ICSAR, even though the slave interface is disabled. Clearing it fixes this situation. Note that Gen3 is not affected. To reproduce: bind and undbind an I2C slave on some bus, run 'i2cdetect' on that bus. Fixes: de20d1857dd6 ("i2c: rcar: add slave support") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>