+35
−33
Loading
stable inclusion from stable-v6.6.76 commit f66aed661bf2c9600ab644fa7bca9addbd53db92 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBW08Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f66aed661bf2c9600ab644fa7bca9addbd53db92 -------------------------------- [ Upstream commit 53c59d66c44c5eb98b34da9967f937e5387f8624 ] Curtrently the error path is unsynchronised with removal due to regulator being disabled before other device managed resources are handled. Correct that by wrapping regulator enablement in the respective call. Signed-off-by:Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Stable-dep-of: 7cef813a91c4 ("gpio: pca953x: log an error when failing to get the reset GPIO") Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit f66aed661bf2c9600ab644fa7bca9addbd53db92) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>