rtc: improve WA for RTC incorrect read
- Improved WA for RTC read failure
- According to FE-3124064:
The device supports CPU write and read access to the RTC Time register.
However, due to this erratum, Read from RTC TIME register may fail.
RTC TIME register should be read 100 times, return a the value which appears
most frequently as a proper value.
Signed-off-by: Shaker Daibes <email@example.com>
Tested-by: Star_Automation <firstname.lastname@example.org>
Reviewed-by: Ofer Heifetz <email@example.com>
1 file changed