diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-04 21:22:02 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-03 15:38:58 -0500 |
commit | e87e86f31c54a4e49159dca7fbd6d9694efcd720 (patch) | |
tree | 64f8b2ee2a6048c085f61a86dc77766003838e03 /drivers/gpio/gpio-uclass.c | |
parent | 0242aecb4c40060d532b907e581f1bbd4c9ba9af (diff) | |
download | u-boot-e87e86f31c54a4e49159dca7fbd6d9694efcd720.tar.gz |
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: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'drivers/gpio/gpio-uclass.c')
0 files changed, 0 insertions, 0 deletions