From: Lars-Peter Clausen Date: Thu, 17 Oct 2013 21:08:09 +0000 (-0700) Subject: tty: xuartps: Force enable the UART in xuartps_console_write X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~63^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3755f5e6cd222cd5aff949228d32aa8446023a5;p=pandora-kernel.git 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 Signed-off-by: John Linn Signed-off-by: Michal Simek Signed-off-by: Soren Brinkmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed