summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2018-03-05 13:43:53 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-03-17 16:20:53 +0300
commit9d327c2d929161a6ca4d7ca0672414cc72100659 (patch)
treeb1000f790a34fe93aa371f009be230f1ef88c97a /include/linux
parent72dd71f0dae47183efdf92279927ff26f0ed9f3f (diff)
downloadlinux-9d327c2d929161a6ca4d7ca0672414cc72100659.tar.xz
rtc: isl1208: enable interrupt after context preparation
The interrupt handler got enabled very early. If the interrupt cause is triggering immediately before the context is fully prepared. This can lead to undefined behaviour. Therefor we move the interrupt enable code to the end of the probe function. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions