]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
serial: omap: Fix EFR write on RTS deassertion
authorLukas Wunner <lukas@wunner.de>
Sat, 21 Oct 2017 08:50:18 +0000 (10:50 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 14 Mar 2018 10:41:52 +0000 (11:41 +0100)
commitccb0f1df38dc1fb8dbab3ae8139f4e3d8cf3228a
tree927450201bd58e6d3c66bc8c53cb42ccacebaa7a
parentbb6f907f23c29f3cf5e801985fdacb92f4a17fa7
serial: omap: Fix EFR write on RTS deassertion

BugLink: http://bugs.launchpad.net/bugs/1744213
commit 2a71de2f7366fb1aec632116d0549ec56d6a3940 upstream.

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>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/tty/serial/omap-serial.c