Re: [PATCH v2] pinctrl: qcom: Avoid assigning unused private context in test cases
From: Bartosz Golaszewski
Date: Fri Jun 26 2026 - 05:37:32 EST
On Wed, 10 Jun 2026 11:46:58 +0530, Sneh Mankad wrote:
> tlmm_test_rising_while_disabled() sets thread_op_remain to 10, but this
> variable is only used by the threaded IRQ handler to control the number
> of GPIO pin toggles. Since tlmm_test_rising_while_disabled() does not
> register a threaded IRQ handler, the assignment is never used.
>
> Similarly, tlmm_test_high() and tlmm_test_low() set intr_op_remain to 9,
> but the variable is used to denote the IRQ handler the number of times
> GPIO signal has to be toggled from the hard IRQ handler.
>
> [...]
Applied, thanks!
[1/1] pinctrl: qcom: Avoid assigning unused private context in test cases
https://git.kernel.org/brgl/c/62a3aa000055efcc86483e8953775943513fe44d
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>