aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-04 21:22:00 -0700
committerTom Rini <trini@konsulko.com>2021-03-03 15:38:58 -0500
commit1f212afc4cefa2ca16e51486523b1854746fda79 (patch)
treeec92aa338e0f9ff8ee102702c99f2577c92cf9cc /drivers/gpio/gpio-uclass.c
parenta03a0aa7e833ab6af62728d6c0591b7772ffa9a8 (diff)
gpio: sandbox: Use a separate flag for the value
At present with the sandbox GPIO driver it is not possible to change the value of GPIOD_IS_OUT_ACTIVE unless the GPIO is an output. This makes it hard to test changing the flags since we need to be aware of the internal workings of the driver. The feature is designed to aid testing. Split this feature out into a separate sandbox-specific flag, so that the flags can change unimpeded. This will make it easier to allow updating the flags in a future patch. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/gpio-uclass.c')
0 files changed, 0 insertions, 0 deletions