diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-09-19 19:10:58 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-23 16:42:00 +0200 |
| commit | 4cbe530c0233c7413aaaeb029a4f32dd6aadacbb (patch) | |
| tree | 17b020e3a20289dd067f76d30aca6ea67489eee9 /tools/perf/scripts/python | |
| parent | e9438ab5328a177c9c0e5df87eb92a7162841e98 (diff) | |
| download | linux-next-4cbe530c0233c7413aaaeb029a4f32dd6aadacbb.tar.gz linux-next-4cbe530c0233c7413aaaeb029a4f32dd6aadacbb.zip | |
gpio: tps65219: Fix GPIO input value reads
TPS65219_MFP_GPIO_STATUS_MASK is already BIT(4). Passing it to BIT()
again tests bit 16, which cannot be set in the 8-bit MFP_CTRL register,
so GPIO0 is always reported low when configured as an input.
Test the register value with the mask directly.
Fixes: 57e30e00bd5b ("gpio: tps65219: add GPIO support for TPS65219 PMIC")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Jonathan Cormier <jcormier@criticallink.com>
Link: https://patch.msgid.link/20260919171100.90430-2-kmehltretter@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
