mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-31 10:13:04 +09:00
[ 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>