aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-04-09 17:52:15 +0200
committerJohan Hovold <johan@kernel.org>2021-04-12 11:58:42 +0200
commitb979248d16d12b913501dacd61bddc7a36aac886 (patch)
tree00533fde894a118f0d1d85dc9de8da975323e923 /tools/perf/scripts/python
parentUSB: serial: do not use tty class device for debugging (diff)
downloadlinux-b979248d16d12b913501dacd61bddc7a36aac886.tar.gz
linux-b979248d16d12b913501dacd61bddc7a36aac886.zip
USB: serial: cp210x: provide gpio valid mask
Use the new GPIO valid-mask feature to inform gpiolib which pins are available for use instead of handling that in a request callback. This also allows user space to figure out which pins are available through the chardev interface without having to request each pin in turn. Note that the return value when requesting an unavailable pin will now be -EINVAL instead of -ENODEV. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions