diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-11 09:23:53 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-08-31 23:21:19 -0600 |
commit | 9165e8428d02b42b7f2b87083035e4e2493df721 (patch) | |
tree | b9bc1b8501cadb93ba49da25c83d61674ef2c6a0 /common/env_attr.c | |
parent | 89e6405425c7b52fd1330c61b6f5526612b87516 (diff) | |
download | u-boot-imx-9165e8428d02b42b7f2b87083035e4e2493df721.zip u-boot-imx-9165e8428d02b42b7f2b87083035e4e2493df721.tar.gz u-boot-imx-9165e8428d02b42b7f2b87083035e4e2493df721.tar.bz2 |
dm: gpio: Allow gpio command to adjust GPIOs that are busy
The gpio command mostly relies on gpio_request() and gpio_free() being
nops, in that you can request a GPIO twice. With driver model this is
now implemented correctly, so it fails.
Change the command to deal with a failure to claim the GPIO.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/env_attr.c')
0 files changed, 0 insertions, 0 deletions