Re: [PATCH 3/4] rtc: isl1208: enable interrupt after context preparation

2018-01-30 Thread Alexandre Belloni
Hi, On 23/01/2018 at 13:18:00 +0100, Michael Grzeschik wrote: > 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

[PATCH 3/4] rtc: isl1208: enable interrupt after context preparation

2018-01-23 Thread Michael Grzeschik
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 Signed-off-by: D