
1 Apr
2017
1 Apr
'17
6:23 a.m.
On 27 March 2017 at 08:38, techping.chan@gmail.com wrote:
From: Ziping Chen techping.chan@gmail.com
The status of a GPIO-connected LED can be read back by reading the GPO value.
Add the support for get_status function in led_gpio driver.
Signed-off-by: Ziping Chen techping.chan@gmail.com
drivers/led/led_gpio.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
(although I have a version of this patch which expands status to return the blink state also)