]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: qcom: tlmm-test: Validate irq_enable delivers edge irqs
authorBjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Thu, 13 Mar 2025 21:27:27 +0000 (14:27 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Mar 2025 13:24:45 +0000 (14:24 +0100)
commitb938feb7909846b9120366ca3a4cf70dfa879e09
treec91630c1c3c206db0a0b508e68dc78dca81a6e90
parente225128c3f8be879e7d4eb71a25949e188b420ae
pinctrl: qcom: tlmm-test: Validate irq_enable delivers edge irqs

In commit 'cf9d052aa600 ("pinctrl: qcom: Don't clear pending interrupts
when enabling")' Doug establishes an expectation that edge interrupts
occurring while an interrupt is disabled should be delivered once the
interrupt is enabled again.

Implement a test to validate that this is the case.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Link: https://lore.kernel.org/20250313-tlmm-test-disabled-irq-delivered-v1-1-f0be903732ac@oss.qualcomm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/tlmm-test.c