commit | 4d3b73e7332058ee8d6930b49fe58a42d852362b | [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 | ae1e85b149c019919f7606ae8423e3015bfc375e [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>