sc16is7xx: Update status lines in single call
authorLech Perczak <l.perczak@camlintechnologies.com>
Mon, 21 Feb 2022 10:56:14 +0000 (11:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:24:27 +0000 (10:24 +0100)
commit6cca8f154a296ead948d1ff0f6c63febf84a8856
treebbf59ebda572b19701d31611ef66a89086e4cccf
parentc112653b89e0cea4aa2ea26fcfbbb30a2193339e
sc16is7xx: Update status lines in single call

RTS, DTR and LOOP bits can be updated in a single MCR register update.
This reduces the number of (slow) SPI/I2C bus transactions.

Signed-off-by: Lech Perczak <l.perczak@camlintechnologies.com>
Signed-off-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Link: https://lore.kernel.org/r/20220221105618.3503470-3-tomasz.mon@camlingroup.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c