tty: serial8250: add break handler quirk for tegra
authorBibek Basu <bbasu@nvidia.com>
Mon, 28 Apr 2014 05:29:24 +0000 (10:29 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Thu, 8 May 2014 23:40:38 +0000 (16:40 -0700)
commit68a6540236420b6346ca331d88b9cee70031971c
tree50098fc2f45264972df38e63cdf90dac06647e9f
parent985da60bc44a06804c739b1b699b9826bbeb8a94
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/406398
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/of_serial.c
include/linux/serial_8250.h