summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sa1100.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-08-21 17:57:42 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-08-24 11:03:34 +0200
commit56c0c529848c853bc1049e271975917e8c9f4389 (patch)
tree2dcefa0bf475eb1986c9c08c18a9da60c6df2335 /drivers/rtc/rtc-sa1100.c
parentbe8e2746462b11e92a882e45317fafcd2c0dc50b (diff)
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/rtc/rtc-sa1100.c')
0 files changed, 0 insertions, 0 deletions