tty: serial8250: add break handler quirk for tegra
authorBibek Basu <bbasu@nvidia.com>
Mon, 28 Apr 2014 05:29:24 +0000 (10:29 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 13 May 2014 21:33:58 +0000 (14:33 -0700)
commit17fa41423e194410d5270706733e77344aff3a42
tree7e0f4d9c86d7eebc43e8d4fd0ebc8bef499033d9
parenta6c9ce8f39deb2af976ab3a587182711dae0fc70
tty: serial8250: add break handler quirk for tegra

On tegra,after a break is issued, uart status register
generates FIFOE error rather than the next character
ready status. For that quirk is already present. Hook is added
for the quirk so that sysrq key combination works. This helps
in debugging soft hangs

Bug 1401397

Change-Id: I0131cfc986aba694ddc21d859685748843534611
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/401535
(cherry picked from commit c72b366e010b5cfbac6541eb339a0324b863ff17)
Reviewed-on: http://git-master/r/406402
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/of_serial.c
include/linux/serial_8250.h