summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-tegra124
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-14 21:03:20 -0600
committerTom Warren <twarren@nvidia.com>2015-05-13 09:24:06 -0700
commit962f5caf600c54f4103bfa6b31fa2fb4e8aaacb9 (patch)
treefc9cb3eac617e65544c493b0a948bf752087b235 /arch/arm/include/asm/arch-tegra124
parent3d7cf4192f045d9003c80bc937b18a6169eabbcf (diff)
downloadtalos-obmc-uboot-962f5caf600c54f4103bfa6b31fa2fb4e8aaacb9.tar.gz
talos-obmc-uboot-962f5caf600c54f4103bfa6b31fa2fb4e8aaacb9.zip
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>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra124')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud