diff options
author | Ying Liu <victor.liu@nxp.com> | 2023-07-21 12:29:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-19 13:20:25 +0300 |
commit | 934d29b9fa912ff6028d4abb8c787bdac8f4fa80 (patch) | |
tree | 82cdd0897ea5566801899f343d7f7eab7f55076d /tools | |
parent | 84f99532152b2e8ccfa0d9ac4b98a9d6af487469 (diff) | |
download | linux-934d29b9fa912ff6028d4abb8c787bdac8f4fa80.tar.xz |
backlight: gpio_backlight: Drop output GPIO direction check for initial power state
[ Upstream commit fe1328b5b2a087221e31da77e617f4c2b70f3b7f ]
So, let's drop output GPIO direction check and only check GPIO value to set
the initial power state.
Fixes: 706dc68102bc ("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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions