sc16is7xx: Preserve EFR bits on update
authorLech Perczak <l.perczak@camlintechnologies.com>
Mon, 21 Feb 2022 10:56:13 +0000 (11:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:24:27 +0000 (10:24 +0100)
commitc112653b89e0cea4aa2ea26fcfbbb30a2193339e
treee24b54727a9a59274efb3ce8d1cc16dbe63bccd9
parent932d596378b0253354246f4aa3662add4883a167
sc16is7xx: Preserve EFR bits on update

Preserve unaffected bits state when accessing EFR register. This
prevents hardware flow control bits from being cleared on enhanced
functions access.

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-2-tomasz.mon@camlingroup.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c