diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-08-21 18:57:42 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-08-24 12:03:34 +0300 |
commit | 56c0c529848c853bc1049e271975917e8c9f4389 (patch) | |
tree | 2dcefa0bf475eb1986c9c08c18a9da60c6df2335 /drivers/extcon | |
parent | be8e2746462b11e92a882e45317fafcd2c0dc50b (diff) | |
download | linux-56c0c529848c853bc1049e271975917e8c9f4389.tar.xz |
rtc: pxa: fix possible race condition
pxa_rtc_open() registers the interrupt handler which will access the RTC
registers. However, pxa_rtc_open() is called before the register range is
ioremapped. Instead, call it after devm_ioremap().
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions