Searched hist:"962 f5caf600c54f4103bfa6b31fa2fb4e8aaacb9" (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/include/asm-generic/ |
H A D | gpio.h | diff 962f5caf600c54f4103bfa6b31fa2fb4e8aaacb9 Tue Apr 14 22:03:20 CDT 2015 Simon Glass <sjg@chromium.org> dm: gpio: Add error handling and a function to claim vector GPIOs
gpio_get_values_as_int() should return an error if something goes wrong. Also provide gpio_claim_vector(), a function to request the GPIOs and set them to input mode. Otherwise callers have to do this themselves.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
|
/openbmc/u-boot/drivers/gpio/ |
H A D | gpio-uclass.c | diff 962f5caf600c54f4103bfa6b31fa2fb4e8aaacb9 Tue Apr 14 22:03:20 CDT 2015 Simon Glass <sjg@chromium.org> dm: gpio: Add error handling and a function to claim vector GPIOs
gpio_get_values_as_int() should return an error if something goes wrong. Also provide gpio_claim_vector(), a function to request the GPIOs and set them to input mode. Otherwise callers have to do this themselves.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
|