Skip to content
Commit 934d29b9 authored by Ying Liu's avatar Ying Liu Committed by Greg Kroah-Hartman
Browse files

backlight: gpio_backlight: Drop output GPIO direction check for initial power state

[ 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: default avatarLiu Ying <victor.liu@nxp.com>
Reviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20230721093342.1532531-1-victor.liu@nxp.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 84f99532
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment