diff options
| author | Johan Hovold <[email protected]> | 2021-04-09 17:52:15 +0200 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2021-04-12 11:58:42 +0200 |
| commit | b979248d16d12b913501dacd61bddc7a36aac886 (patch) | |
| tree | 00533fde894a118f0d1d85dc9de8da975323e923 /tools/perf/scripts/python | |
| parent | 07125072b0a08a13331b46990ea48997fa0c64b4 (diff) | |
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 <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions