]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: mmio: fix bad guard conversion
authorJohan Hovold <johan@kernel.org>
Wed, 3 Dec 2025 10:52:06 +0000 (11:52 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 3 Dec 2025 11:57:40 +0000 (12:57 +0100)
commit7d80e248e8fc4c70f8feac4989f3666878039565
tree57b50d9505bb616fabbaa67b4ef503ab0af0d303
parentdae9750105cf93ac1e156ef91f4beeb53bd64777
gpio: mmio: fix bad guard conversion

A recent spinlock guard conversion consistently used the wrong guard so
that interrupts are no longer disabled while holding the chip lock
(which can cause deadlocks).

Fixes: 7e061b462b3d ("gpio: mmio: use lock guards")
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20251203105206.24453-1-johan@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-mmio.c