backlight: gpio_backlight: Drop output GPIO direction check for initial power state
stable inclusion from stable-v5.10.195 commit 934d29b9fa912ff6028d4abb8c787bdac8f4fa80 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=934d29b9fa912ff6028d4abb8c787bdac8f4fa80 -------------------------------- [ Upstream commit fe1328b5 ] So, let's drop output GPIO direction check and only check GPIO value to set the initial power state. Fixes: 706dc681 ("backlight: gpio: Explicitly set the direction of the GPIO") Signed-off-by:Liu Ying <victor.liu@nxp.com> Reviewed-by:
Andy Shevchenko <andy@kernel.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://lore.kernel.org/r/20230721093342.1532531-1-victor.liu@nxp.com Signed-off-by:
Lee Jones <lee@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment