Messages in this thread | | | Date | Thu, 12 Oct 2017 14:32:51 +0200 | From | Alexandre Belloni <> | Subject | Re: [PATCH] rtc: jz4740: fix loading of rtc driver |
| |
On 18/09/2017 at 21:10:13 +0200, Mathieu Malaterre wrote: > The current timeout for waiting for WRDY is not always sufficient. Always > increase it to 10000 even on JZ4740. This is technically only required on > JZ4780, where the current symptoms seen after a hard reboot are: > > jz4740-rtc 10003000.rtc: rtc core: registered 10003000.rtc as rtc0 > jz4740-rtc 10003000.rtc: Could not write to RTC registers > jz4740-rtc: probe of 10003000.rtc failed with error -5 > > Suggested-by: Alex Smith <alex.smith@imgtec.com> > Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> > Signed-off-by: Mathieu Malaterre <malat@debian.org> > --- > drivers/rtc/rtc-jz4740.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied, thanks.
-- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
| |