diff options
author | Nadav Haklai <nadavh@marvell.com> | 2015-08-06 18:18:48 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 14:19:12 +0300 |
commit | 0c6e718389305cbc4cd9b8e3fd4b4173bd1127e6 (patch) | |
tree | 58da7761f2ef3da35d97f94245cee2963c6e0b3e /tools/perf | |
parent | efbbb4fd6b6fe0d3d2cfb3c5bbcdf00f1995cb60 (diff) | |
download | linux-0c6e718389305cbc4cd9b8e3fd4b4173bd1127e6.tar.xz |
rtc: armada38x: Align RTC set time procedure with the official errata
According to the Armada38x functional errata FE-3124064, writing to
the RTC TIME register may fail. As a workaround, after writing to RTC
TIME register, issue a dummy write of 0x0 twice to the RTC Status
register. This is the updated implementation of the Errata that
eliminates the need of the long 100ms delay during the RTC set time
procedure.
[gregory.clement@free-electrons.com]: removed the mutex and use the
spinlock again
Signed-off-by: Nadav Haklai <nadavh@marvell.com>
Reviewed-by: Neta Zur Hershkovits <neta@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions