aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2016-11-13 23:02:44 +0100
committerLinus Walleij <[email protected]>2016-11-15 10:29:41 +0100
commitad17731d7bd1c379f83d4bde844169588441266f (patch)
tree6e3316e335bca66714dbf3a092ddbaa5e7a8f756 /scripts/gdb/linux/utils.py
parent24b35ed9a84ab1e7ad96c67434841120ca7fbf36 (diff)
gpio: clamp values on gpio[d]_direction_output()
I saw weird values != [0,1] being passed down to drivers in their .set_direction_output() callbacks. Go over the gpiolib and make sure to hammer it to [0,1] before hitting the driver to avoid undesired side effects. Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions