From: Michael Spang Date: Wed, 27 Mar 2013 23:34:25 +0000 (-0400) Subject: serial: samsung: Avoid waiting forever for TX ready X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~136^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38adbc54cea90e220c9212f961a621b2c6af9ae0;p=pandora-kernel.git serial: samsung: Avoid waiting forever for TX ready The no_console_suspend option allows the console to write to the UART during early resume, before the serial port itself is resumed. Such writes hang indefinitely waiting for TX ready. This adds a check to the console putchar function to drop characters instead of hanging if the port hasn't been initialized. That way, we can use no_console_suspend without risk of hanging. Signed-off-by: Michael Spang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed