diff options
author | Johan Hovold <johan@kernel.org> | 2020-11-16 19:18:25 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-12-04 16:57:27 +0300 |
commit | ed921771ffb65ce1f65d746fe8f88c0e0a829d76 (patch) | |
tree | 5dd99aeaa7fe6ca6a4e9f8aa98c1344de5bc0cf9 /tools/perf/scripts/python/stackcollapse.py | |
parent | b339628ec08c51c3445f4b094e0011406fc36344 (diff) | |
download | linux-ed921771ffb65ce1f65d746fe8f88c0e0a829d76.tar.xz |
USB: serial: cp210x: refactor flow-control handling
Add a helper function to be used to configure flow control.
The flow-control code was the last caller that relied on the
memset-on-failure behaviour of cp210x_read_reg_block(), which we can now
drop in favour of bailing out on errors when retrieving the flow-control
settings.
This should also simplify adding support for software flow control.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions