Re: [PATCH] gpio: pca953x: propagate regulator_enable() error from resume
From: Bartosz Golaszewski
Date: Thu May 21 2026 - 04:10:17 EST
On Wed, 20 May 2026 16:05:04 +0500, Stepan Ionichev wrote:
> pca953x_resume() returns 0 when regulator_enable() fails, dropping
> the real error code and masking the failure as a successful resume.
> The caller then proceeds as if the chip is powered, while the
> regulator is in fact disabled.
>
> Return ret so PM core sees the actual failure.
>
> [...]
Applied, thanks!
[1/1] gpio: pca953x: propagate regulator_enable() error from resume
https://git.kernel.org/brgl/c/be460cedb67ab803c1bebceac19b1d44acb85d30
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>