mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
backlight: gpio_backlight: Drop output GPIO direction check for initial power state
[ Upstream commitfe1328b5b2] So, let's drop output GPIO direction check and only check GPIO value to set the initial power state. Fixes:706dc68102("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>
This commit is contained in:
parent
9de7eb95bb
commit
d7add20019
1 changed files with 1 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue