summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorDmitry Mastykin <mastichi@gmail.com>2025-01-22 15:05:04 +0300
committerLinus Walleij <linus.walleij@linaro.org>2025-02-17 00:16:02 +0100
commit7b0671b97f0872d6950ccc925e210cb3f67721bf (patch)
treeec14233a2e296c8c7709c18ab321eec26b3b6c79 /tools/docs/lib/parse_data_structs.py
parentd6c6fd77e5816e3f6689a2767cdd777797506f24 (diff)
pinctrl: mcp23s08: Get rid of spurious level interrupts
irq_mask()/irq_unmask() are not called for nested interrupts. So level interrupts are never masked, chip's interrupt output is not cleared on INTCAP or GPIO read, the irq handler is uselessly called again. Nested irq handler is not called again, because interrupt reason is cleared by its first call. /proc/interrupts shows that number of chip's irqs is greater than number of nested irqs. This patch adds masking and unmasking level interrupts inside irq handler. Signed-off-by: Dmitry Mastykin <mastichi@gmail.com> Link: https://lore.kernel.org/20250122120504.1279790-1-mastichi@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions