Re: [PATCH 2/2] regulator: qcom-labibb: Use disable_irq_nosync from isr

2021-02-02 Thread AngeloGioacchino Del Regno
Il 02/02/21 08:37, Matti Vaittinen ha scritto: Calling the disable_irq() from irq handler might be a bad idea as disable_irq() should wait for handlers to run. I don't see why this wouldn't deadlock in wait_event waiting for the threaded handler to complete. Use disable_irq_nosync() instead.

[PATCH 2/2] regulator: qcom-labibb: Use disable_irq_nosync from isr

2021-02-01 Thread Matti Vaittinen
Calling the disable_irq() from irq handler might be a bad idea as disable_irq() should wait for handlers to run. I don't see why this wouldn't deadlock in wait_event waiting for the threaded handler to complete. Use disable_irq_nosync() instead. Fixes: 390af53e04114 ("regulator: qcom-labibb: Impl