diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-01-17 16:30:27 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-19 17:42:29 +0100 |
commit | 2a9e27408e12de455b9fcf66b5d0166f2129579e (patch) | |
tree | d95436b7b341065e2e28029ff654fe5b5d951eb7 /kernel/user_namespace.c | |
parent | gpio: mockup: change the signature of unlocked get/set helpers (diff) | |
download | linux-2a9e27408e12de455b9fcf66b5d0166f2129579e.tar.xz linux-2a9e27408e12de455b9fcf66b5d0166f2129579e.zip |
gpio: mockup: rework debugfs interface
Modify the way the debugfs interface works in gpio-mockup. Introduce
the concept of dummy pull config which will keep the mockup lines in
known state. The pull values can be modified by writing to the debugfs
files corresponding to lines. Lines in input mode always report the
current pull value, lines in output mode change the line value but
it will revert back to the one specified by current pull when released.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions