From: Rob Herring Date: Wed, 25 Sep 2013 02:05:58 +0000 (-0500) Subject: TTY: hvc_dcc: probe for a JTAG connection before registering X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~63^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f377775dc083506e2fd7739d8615971c46b5246e;p=pandora-kernel.git TTY: hvc_dcc: probe for a JTAG connection before registering Enabling the ARM DCC console and using without a JTAG connection will simply hang the system. Since distros like to turn on all options, this is a reoccurring problem to debug. We can do better by checking if anything is attached and handling characters. There is no way to probe this, so send a newline and check that it is handled. Cc: Paolo Pisati Cc: Tim Gardner Cc: Greg Kroah-Hartman Cc: Jiri Slaby Signed-off-by: Rob Herring Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed