serial: omap: Fix EFR write on RTS deassertion
authorLukas Wunner <lukas@wunner.de>
Sat, 21 Oct 2017 08:50:18 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Oct 2017 09:22:58 +0000 (11:22 +0200)
commit2a71de2f7366fb1aec632116d0549ec56d6a3940
tree1acdbfae1a8e6f9ed50cd3bcc9f85df28dd11736
parente60f9fd03b8b5323a8569abc23c62396e0dfa9ad
serial: omap: Fix EFR write on RTS deassertion

Commit 348f9bb31c56 ("serial: omap: Fix RTS handling") sought to enable
auto RTS upon manual RTS assertion and disable it on deassertion.
However it seems the latter was done incorrectly, it clears all bits in
the Extended Features Register *except* auto RTS.

Fixes: 348f9bb31c56 ("serial: omap: Fix RTS handling")
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c