ramips: aw9523: add can_sleep flag for GPIO chip
authorDavid Bauer <mail@david-bauer.net>
Wed, 29 Dec 2021 02:39:44 +0000 (03:39 +0100)
committerDavid Bauer <mail@david-bauer.net>
Wed, 29 Dec 2021 02:43:03 +0000 (03:43 +0100)
commit00b194871cd82dfbaf678626e49816ab3a51ece8
treeafd29a353ac1501505fca125c33e9bdc70a62243
parentd0501dc7fc078fb9e91d5365474db9ed8200f9e0
ramips: aw9523: add 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 should fix spurious "scheduling while atomic" bugs
in the kernel ringbuffer.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ramips/files/drivers/pinctrl/pinctrl-aw9523.c