Re: [PATCH] pinctrl: qcom: lpass-lpi: mark the GPIO controller as sleeping
From: Dmitry Baryshkov
Date: Wed Nov 26 2025 - 09:40:34 EST
On Wed, Nov 26, 2025 at 01:22:19PM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> The gpio_chip settings in this driver say the controller can't sleep
> but it actually uses a mutex for synchronization. This triggers the
> following BUG():
>
> [ 9.233659] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:281
Nit: usually you can strip timestamps from the kernel dump.
Other than that:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
> [ 9.233665] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 554, name: (udev-worker)
--
With best wishes
Dmitry