Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a5d3d1ad authored by Doug Zobel's avatar Doug Zobel Committed by Pavel Machek
Browse files

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: default avatarDoug Zobel <dougdev334@gmail.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent e90abb95
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