summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-04 21:22:02 -0700
committerTom Rini <trini@konsulko.com>2021-03-03 15:38:58 -0500
commite87e86f31c54a4e49159dca7fbd6d9694efcd720 (patch)
tree64f8b2ee2a6048c085f61a86dc77766003838e03 /drivers/gpio/gpio-uclass.c
parent0242aecb4c40060d532b907e581f1bbd4c9ba9af (diff)
downloadu-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