]> 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)
commit4ae06fb0d45fe8e24cb9d54da9e2006cd527e058
tree6fcc6f9220d0ec88b84a1c10803690303f34245f
parent4c34c0bf4910feec366e7639bb3ffdecd54d4c87
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: 8990a996564e ("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