aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-02-24 09:55:54 +0000
committerGreg Kroah-Hartman <[email protected]>2022-02-28 20:49:06 +0000
commit797bd4d41c8b41afc10fad39146ac9558cb39e94 (patch)
treed334af3eb7d34ec67ccf60f5af81351e68526176 /drivers/tty/serial/sccnxp.c
parentMerge 5.17-rc6 into tty-next (diff)
downloadkernel-797bd4d41c8b41afc10fad39146ac9558cb39e94.tar.gz
kernel-797bd4d41c8b41afc10fad39146ac9558cb39e94.zip
tty: serial: define UART_LCR_WLEN() macro
Define a generic UART_LCR_WLEN() macro with a size argument. It can be used to encode byte size into an LCR value. Therefore we can use it to simplify the drivers using tty_get_char_size() in the next patches. 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/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions