Home
last modified time | relevance | path

Searched hist:eca4866586ca36a47cd94811a294ac62ebd17abc (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/gpio/
H A Dgpio-uclass.ceca4866586ca36a47cd94811a294ac62ebd17abc Fri Jul 03 00:16:16 UTC 2015 Simon Glass <sjg@chromium.org> dm: gpio: Check a GPIO is valid before using it

Since a gpio_desc is allowed to be invalid we should return an error
indicating that the operation cannot be completed. This can happen if the
GPIO is optional - e.g. some devices may have a reset line and some may
not.

Signed-off-by: Simon Glass <sjg@chromium.org>