Skip to content
Snippets Groups Projects
Commit 9165e842 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 89e64054
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment