diff options
author | Lars-Peter Clausen <[email protected]> | 2013-10-17 14:08:09 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-10-19 19:47:38 -0700 |
commit | d3755f5e6cd222cd5aff949228d32aa8446023a5 (patch) | |
tree | 56b68cd0b26533e32217333e5e0ff4cfa460ec63 /lib/memory-notifier-error-inject.c | |
parent | 85baf542d54ec321642194b0ebfa7316e3190dc2 (diff) |
tty: xuartps: Force enable the UART in xuartps_console_write
It is possible that under certain circumstances xuartps_console_write is entered
while the UART disabled. When this happens the code will busy loop in
xuartps_console_putchar, since the character is never written and the TXEMPTY
flag is never set. The result is a system lockup. This patch force enables the
UART for the duration of xuartps_console_write to avoid this.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: John Linn <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Signed-off-by: Soren Brinkmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions