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 <firstname.lastname@example.org>
Tested-by: Star_Automation <email@example.com>
Reviewed-by: Ofer Heifetz <firstname.lastname@example.org>
1 file changed