Re: [PATCH 3/3] rtc: ds1685: disable interrupts when moving work to work queue
From: Thomas Bogendoerfer
Date: Fri Apr 12 2019 - 07:49:46 EST
On Fri, 12 Apr 2019 12:14:18 +0200
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> wrote:
> On 11/04/2019 16:33:23+0200, Thomas Bogendoerfer wrote:
> > Handling of extended interrupts (kickstart, wake-up, ram-clear) is
> > moved off to a work queue, but the interrupts aren't acknowledged
> > in the interrupt handler. This leads to a deadlock, if driver
> > is used with interrupts. To fix this we now disable in irq handler
> > and re-enable it after work queue is done.
> The correct fix to that seems to switch to a threaded interrupt handler.
> Can you do that?
sure, shouldn't be a big problem.
SUSE Linux GmbH
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)