diff options
| author | 2026-05-20 16:05:04 +0500 | |
|---|---|---|
| committer | 2026-05-21 10:04:00 +0200 | |
| commit | be460cedb67ab803c1bebceac19b1d44acb85d30 (patch) | |
| tree | 4dfb03159f3dd2ebe904d7bb532310e144e60d50 /security/apparmor/ssh:/git@git.zx2c4.com/git: | |
| parent | Linux 7.1-rc4 (diff) | |
gpio: pca953x: propagate regulator_enable() error from resume
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.
Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
Link: https://patch.msgid.link/20260520110504.13969-1-sozdayvek@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'security/apparmor/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
