summaryrefslogtreecommitdiff
path: root/post/lib_powerpc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-02 18:16:16 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 21:06:14 -0600
commiteca4866586ca36a47cd94811a294ac62ebd17abc (patch)
tree63862258962754b9443a4737822feb54be7155b5 /post/lib_powerpc
parent71db6341c53038db5a73343da2c559dea6c89a7a (diff)
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>
Diffstat (limited to 'post/lib_powerpc')
0 files changed, 0 insertions, 0 deletions