diff options
author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2024-08-28 16:32:07 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-09-30 14:52:50 +0300 |
commit | 3360d41f4ac490282fddc3ccc0b58679aa5c065d (patch) | |
tree | 946c784c26cb1561b31ff091839bfdb6a66bd20e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-3360d41f4ac490282fddc3ccc0b58679aa5c065d.tar.xz |
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 <emanuele.ghidoli@toradex.com>
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240828133207.493961-1-parth105105@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions