commit | 56c0c529848c853bc1049e271975917e8c9f4389 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Aug 21 17:57:42 2017 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Aug 24 11:03:34 2017 +0200 |
tree | 2dcefa0bf475eb1986c9c08c18a9da60c6df2335 | |
parent | be8e2746462b11e92a882e45317fafcd2c0dc50b [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>