Re: [PATCH] gpio: handle missing regmap

From: Bartosz Golaszewski

Date: Wed Apr 08 2026 - 03:18:24 EST



On Tue, 07 Apr 2026 15:41:48 +0300, Matti Vaittinen wrote:
> Currently the probe does not check whether getting the regmap succeeded.
> This can cause crash when regmap is used, if it wasn't successfully
> obtained. Failing to get the regmap is unlikely, especially since this
> driver is expected to be kicked by the MFD driver only after registering
> the regmap - but it is still better to handle this gracefully.
>
>
> [...]

The subject should have been: "gpio: bd72720: handle missing regmap".

I fixed it and queued the patch.

[1/1] gpio: handle missing regmap
https://git.kernel.org/brgl/c/828ec7f803f41588a120e6d804297e74a482ab9d

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>