diff options
author | Johan Hovold <johan@kernel.org> | 2020-11-16 17:18:25 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-12-04 14:57:27 +0100 |
commit | ed921771ffb65ce1f65d746fe8f88c0e0a829d76 (patch) | |
tree | 5dd99aeaa7fe6ca6a4e9f8aa98c1344de5bc0cf9 /fs/overlayfs/util.c | |
parent | USB: serial: cp210x: drop flow-control debugging (diff) | |
download | linux-ed921771ffb65ce1f65d746fe8f88c0e0a829d76.tar.xz linux-ed921771ffb65ce1f65d746fe8f88c0e0a829d76.zip |
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 'fs/overlayfs/util.c')
0 files changed, 0 insertions, 0 deletions