diff options
author | Emanuele Ghidoli <[email protected]> | 2024-08-28 15:32:07 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-09-30 13:52:50 +0200 |
commit | 3360d41f4ac490282fddc3ccc0b58679aa5c065d (patch) | |
tree | 946c784c26cb1561b31ff091839bfdb6a66bd20e /drivers/platform/x86/intel/pmt/class.c | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
gpio: davinci: fix lazy disable
On a few platforms such as TI's AM69 device, disable_irq() fails to keep
track of the interrupts that happen between disable_irq() and
enable_irq() and those interrupts are missed. Use the ->irq_unmask() and
->irq_mask() methods instead of ->irq_enable() and ->irq_disable() to
correctly keep track of edges when disable_irq is called.
This solves the issue of disable_irq() not working as expected on such
platforms.
Fixes: 23265442b02b ("ARM: davinci: irq_data conversion.")
Signed-off-by: Emanuele Ghidoli <[email protected]>
Signed-off-by: Parth Pancholi <[email protected]>
Acked-by: Keerthy <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions