]> Pileus Git - ~andy/linux/commit
i2c: sirf: reset i2c controller early after we get a noack
authorZhiwu Song <Zhiwu.Song@csr.com>
Tue, 13 Aug 2013 09:11:27 +0000 (17:11 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 28 Aug 2013 09:43:34 +0000 (11:43 +0200)
commitc984319ad9c54c269493b6bc0517e8c2dfca4456
tree87a41ed1f90e639973c321caec782445eb0c1b96
parent57cd1e3029e5fb4d238ad11fd0d7ad917179fdf2
i2c: sirf: reset i2c controller early after we get a noack

Due to hardware ANOMALY, we need to reset I2C earlier after
we get NOACK while accessing non-existing clients, otherwise
we will get errors even we access existing clients later

Signed-off-by: Zhiwu Song <Zhiwu.Song@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sirf.c