]> git.baikalelectronics.ru Git - kernel.git/commit
tty: pl011: fix earlycon work-around for QDF2400 erratum 44
authorTimur Tabi <timur@codeaurora.org>
Fri, 31 Mar 2017 22:05:02 +0000 (17:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Apr 2017 09:07:29 +0000 (11:07 +0200)
commitea8da4aaa031097e7a273db784dd0f583bc1d3c8
tree6fcc6f9220d0ec88b84a1c10803690303f34245f
parent6cd8cd3a796d2b140d5ed231f855ec57e61803d4
tty: pl011: fix earlycon work-around for QDF2400 erratum 44

The work-around for the Qualcomm Datacenter Technologies QDF2400
erratum 44 sets the "qdf2400_e44_present" global variable if the
work-around is needed.  However, this check does not happen until after
earlycon is initialized, which means the work-around is not
used, and the console hangs as soon as it displays one character.

Fixes: e348a40a14e0 ("tty: pl011: Work around QDF2400 E44 stuck BUSY bit")
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c