i2c: sirf: retry 3 times as sometimes we get random noack and timeout
authorZhiwu Song <Zhiwu.Song@csr.com>
Tue, 13 Aug 2013 09:11:31 +0000 (17:11 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 28 Aug 2013 09:46:03 +0000 (11:46 +0200)
commit617da00cb11b75a17a271147e616296f754f591b
tree51c4be3af32c849491b5c8dce881f3d4a988d2c0
parent5ebffa6b5e0c43edbdd41e5bc53137547a1378cb
i2c: sirf: retry 3 times as sometimes we get random noack and timeout

let i2c core retry 3 times as sometimes we get random noack and timeout
even when we access an existing i2c client.

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