pinctrl: aw9523: fix can_sleep flag for GPIO chip
authorMilan Krstic <milan.krstic@gmail.com>
Thu, 3 Jul 2025 14:30:39 +0000 (14:30 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Jul 2025 08:31:50 +0000 (10:31 +0200)
commit5285b5ed04ab6ad40f7b654eefbccd6ae8cbf415
tree6129b7226cafeeb9f8ad8478a43291ca51e265f4
parent8ff4fb276e2384a87ae7f65f3c28e1e139dbb3fe
pinctrl: aw9523: fix can_sleep flag for GPIO chip

The GPIO expander is connected via I2C, thus the can_sleep flag has to
be set to true. This fixes spurious "scheduling while atomic" bugs
in the kernel ringbuffer.

Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Milan Krstic <milan.krstic@gmail.com>
Link: https://lore.kernel.org/20250703143039.5809-1-milan.krstic@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-aw9523.c