]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
tty: serial8250: add break handler quirk for tegra
authorBibek Basu <bbasu@nvidia.com>
Mon, 28 Apr 2014 05:29:24 +0000 (10:59 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 18 Mar 2015 19:15:31 +0000 (12:15 -0700)
commitc89fc552ef75ec5d06b67dd5269d26a754125034
tree162cb181530586667ff496ffa7132d0ca5252afc
parentf7155942dfcd9c6517e488149495f94537597411
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