OSDN Git Service

serial: pl011: Adopt generic flag to store auto RTS status
authorLukas Wunner <lukas@wunner.de>
Wed, 25 Oct 2017 08:06:33 +0000 (10:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Nov 2017 11:08:54 +0000 (12:08 +0100)
commit2a76fa2830981e15bfa33c2b0e5f2dfd35b0455c
treec96ff0a29bd513217f2fcfcffee52c7f8591b0e2
parent3236a965486ba0c6043cf2c7b51943d8b382ae29
serial: pl011: Adopt generic flag to store auto RTS status

Back in 2010, commit 3b43816f685f ("ARM: 5933/1: amba-pl011: support
hardware flow control") added an autorts flag to this driver to store
whether automatic hardware flow control is requested.

In 2015, commit 391f93f2ec9f ("serial: core: Rework hw-assisted flow
control support") added a flag with identical functionality to generic
code.

Switch over to that flag and drop the driver-specific one.

Cc: Rabin Vincent <rabin.vincent@stericsson.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c