+4
−4
Loading
stable inclusion from stable-v5.10.212 commit 1805131d8f939fb1fefa5394b62af71523281990 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAGOP2 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1805131d8f939fb1fefa5394b62af71523281990 -------------------------------- [ Upstream commit ec5c54a9d3c4f9c15e647b049fea401ee5258696 ] Hogs are added *after* ACPI so should be removed *before* in error path. Fixes: a411e81e ("gpiolib: add hogs support for machine code") Signed-off-by:Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng1 <sanglipeng1@jd.com>