[PATCH 2/2] gpio: mmio: don't use legacy GPIO chip setters
Mark Brown
broonie at kernel.org
Thu Jun 19 02:53:27 AEST 2025
On Wed, Jun 18, 2025 at 03:02:07PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
>
> We've converted this driver to using the new GPIO line value setters but
> missed the instances where the legacy callback is accessed directly using
> the function pointer. This will lead to a NULL-pointer dereference as
> this pointer is no longer populated. The issue needs fixing locally as
> well as in the already converted previously users of gpio-mmio.
Tested-by: Mark Brown <broonie at kernel.org>
This fixes boot breakage in -next on at least the i.MX6 platforms I
have, I'm also seeing similar issues on a bunch of i.MX8 systems which
look to be due to the same issue but didn't verify them yet. I'll let
you know if it looks like something else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20250618/bb37d109/attachment.sig>
More information about the openbmc
mailing list