diff options
| author | Jiri Slaby <[email protected]> | 2021-06-10 09:02:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-06-15 12:03:26 +0000 |
| commit | 8ea43acc690ca2fe88500356f25c431d25f8a0bb (patch) | |
| tree | e766f0b3b8adfe1dd61941ec2c8a14ba4e042c82 /drivers/usb/class/cdc-acm.c | |
| parent | tty: make tty_get_{char,frame}_size available (diff) | |
| download | kernel-8ea43acc690ca2fe88500356f25c431d25f8a0bb.tar.gz kernel-8ea43acc690ca2fe88500356f25c431d25f8a0bb.zip | |
mxs-auart: redefine AUART_LINECTRL_WLEN to accept bits count
It's a bit illogical to take magic constants in AUART_LINECTRL_WLEN.
Like in auart_console_get_options(), 2 means 7 bits. Switch
AUART_LINECTRL_WLEN to accept bit length, i.e. let it subtract 5 from
the parameter before doing the logic.
This will ease conversion from CSIZE to bits in mxs_auart_settermios()
in the next patch.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
