summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-21 17:58:38 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-25 04:38:59 +0300
commit85062c9b990b1dc8bbb8971ee7d3044a999cf25f (patch)
treed801d95e05e74855464d708de925a2716c5779f9 /drivers/rtc/rtc-sh.c
parent7f8a58925b4c0198c12344025b6ffd5dd7d9f1f5 (diff)
downloadlinux-85062c9b990b1dc8bbb8971ee7d3044a999cf25f.tar.xz
rtc: rv8803: workaround i2c HW issue
The rv8803 has a 60µs window where it will not answer on the i2c bus. It also means there will be no ack for the communication. Make sure communication is tried multiple times when this happens (the i2c subsystem mandates -ENXIO is that case but the number of retries is host specific). The critical parts are the probe function and the alarm callback so make sure we handle the failure there. Cc: stable@vger.kernel.org # v4.4 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-sh.c')
0 files changed, 0 insertions, 0 deletions