Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio/aspeed: Write value on switch to output
The Barreleye beep LED turned off during boot despite configuring the default-state device tree property to "on". The gpio framework requires the direction_output() callback in struct gpio_chip to set the value as well as the direction. Tested by John on Barreleye and Joel on ast2500evb. Fixes: https://github.com/openbmc/linux/issues/98 Reported-by: John Wang <hsienchiang@gmail.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
- Loading branch information