commit | e87e86f31c54a4e49159dca7fbd6d9694efcd720 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 04 21:22:02 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Mar 03 15:38:58 2021 -0500 |
tree | 64f8b2ee2a6048c085f61a86dc77766003838e03 | |
parent | 0242aecb4c40060d532b907e581f1bbd4c9ba9af [diff] |
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>