commit | 23a6b8e302ef974f6fd0f5d97a8b957e57578e1a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 11 09:23:53 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Aug 31 23:21:19 2014 -0600 |
tree | b9bc1b8501cadb93ba49da25c83d61674ef2c6a0 | |
parent | 2d6b923858fd4eb5cd54a34b3a1c2cc70552eeb3 [diff] |
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>