Home
last modified time | relevance | path

Searched hist:ed921771ffb65ce1f65d746fe8f88c0e0a829d76 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/serial/
H A Dcp210x.cdiff ed921771ffb65ce1f65d746fe8f88c0e0a829d76 Mon Nov 16 17:18:25 CET 2020 Johan Hovold <johan@kernel.org> 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>