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)
commitcde0fe2acd7cf6f76e926d4e2ce14439681fd5be
tree69524dbc563c263ab8349382d708c02baebb6342
parentd6faca40f40b62aca8ea8c29289c7bf7456172bb
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