Skip to content
Commit 95168d62 authored by Johan Hovold's avatar Johan Hovold
Browse files

USB: serial: cp210x: return early on unchanged termios



Return early from set_termios() in case no relevant terminal settings
have changed.

This avoids testing each parameter in turn and specifically allows the
line-control handling to be cleaned up further.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 053af9e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment