mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mfd: AB3100 disable irq nosync
This will make the worker fire interrupt disable the AB3100 IRQ without sync which resolves a race since the interrupt obviously cannot wait for itself to complete while being handled. Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
ce290b0e86
commit
0ad651c94c
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ static irqreturn_t ab3100_irq_handler(int irq, void *data)
|
|||
* stuff and we will re-enable the interrupts once th
|
||||
* worker has finished.
|
||||
*/
|
||||
disable_irq(ab3100->i2c_client->irq);
|
||||
disable_irq_nosync(irq);
|
||||
schedule_work(&ab3100->work);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue