]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rv8803: broaden workaround
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 7 Jun 2016 18:44:05 +0000 (20:44 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 25 Jun 2016 23:26:16 +0000 (01:26 +0200)
commita694b03f21f4d4da679a291386895b2244d2a0aa
tree69524dbc563c263ab8349382d708c02baebb6342
parent2f45eca3ec96cd1d6dc23d85c18b34ef88efe4f3
rtc: rv8803: broaden workaround

The previous workaround may still fail as there are actually 4 retries to
be done to ensure the communication succeed. Also, some I2C adapter drivers
may return -EIO instead of -ENXIO.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rv8803.c