Files
linux/drivers
Jiri Slaby 8ea43acc69 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 <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210610090247.2593-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-15 14:03:26 +02:00
..
2021-06-11 17:57:24 +02:00
2021-04-18 09:36:56 +03:00
2021-05-31 09:44:28 +02:00
2021-04-08 19:18:07 +02:00
2021-05-31 09:44:28 +02:00
2021-06-14 09:14:43 +02:00
2021-06-14 09:14:43 +02:00
2021-06-14 09:14:43 +02:00
2021-05-31 09:44:28 +02:00
2021-06-14 09:14:43 +02:00