Skip to content
Snippets Groups Projects
Commit e87e86f3 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

gpio: sandbox: Make sandbox_gpio_set_flags() set all flags


Allow this function to see all flags, including the internal sandbox ones.
This allows the tests to fully control the behaviour of the driver.

To make this work, move the setting of GPIOD_EXT_HIGH -to where the flags
are updated via driver model, rather than the sandbox 'back door'.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>

Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent 0242aecb
No related branches found
No related tags found
No related merge requests found
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