]> git.baikalelectronics.ru Git - kernel.git/commit
leds: lp55xx: Initialize enable GPIO direction to output
authorDoug Zobel <dougdev334@gmail.com>
Mon, 10 May 2021 20:40:00 +0000 (15:40 -0500)
committerPavel Machek <pavel@ucw.cz>
Wed, 23 Jun 2021 20:09:35 +0000 (22:09 +0200)
commit30b9aac4fd842150530327e3589a37c0184fb1ba
tree7b284c0afb2850aff5f9f6bcabcb221d61f72c9d
parentcff2ebc1c242320e6059d9cbfde6de11330ceef6
leds: lp55xx: Initialize enable GPIO direction to output

The "Convert to use GPIO descriptors" commit changed the
initialization of the enable GPIO from GPIOF_DIR_OUT to
GPIOD_ASIS.  This breaks systems where the GPIO does not
default to output.  Changing the enable initialization
to GPIOD_OUT_LOW.

Signed-off-by: Doug Zobel <dougdev334@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lp55xx-common.c