diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2021-02-02 10:37:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-02-02 19:14:16 +0300 |
commit | 337710b3121a4f4183c38ff056f6f9ef516cc34f (patch) | |
tree | 92254e748b7906feced2ea97c9325bd035197df5 /drivers/regulator/max77620-regulator.c | |
parent | 4288b4ccda966c2a49ec7c67100208378bdb34d2 (diff) | |
download | linux-337710b3121a4f4183c38ff056f6f9ef516cc34f.tar.xz |
regulator: qcom-labibb: Use disable_irq_nosync from isr
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: Implement short-circuit and over-current IRQs")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/f2c4c88d90bf7473e1b84b8a99b7b33d7a081764.1612249657.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max77620-regulator.c')
0 files changed, 0 insertions, 0 deletions