diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-09-23 13:13:52 +0200 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-11-13 16:07:58 +0100 |
commit | 272f1dfa617ac2eb02a34f534d8d24a6b97eeb08 (patch) | |
tree | 67a0670153dc2903d27974705b01301b6ee02cbd /drivers/watchdog/sp5100_tco.h | |
parent | 6575bd7cbcc40dcdffb62e710ab2cd05355396c6 (diff) |
rtc: at91sam9: use standard readl/writel functions instead of raw versions
Raw versions of writel and writel should not be directly used and should
be replaced by their relaxed versions (readl/writel_relaxed), which take
endianness conversion into account.
In this driver we prefer the standard readl/writel function which add the
appropriate memory barrier around the access (the performance penalty is
negligible for this kind of application).
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Johan Hovold <johan@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.h')
0 files changed, 0 insertions, 0 deletions