From: Jingchang Lu Date: Wed, 15 Oct 2014 06:19:27 +0000 (+0800) Subject: serial: of-serial: fix up PM ops on no_console_suspend and port type X-Git-Tag: omap-for-v3.20/drop-legacy-3517~83^2~216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=513e438581020334e0345561adeeeaefa36701be;p=pandora-kernel.git serial: of-serial: fix up PM ops on no_console_suspend and port type This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, "serial: of-serial: add PM suspend/resume support", which disables the uart clock on suspend, but also causes a hardware hang on register access if no_console_suspend command line option is used. Also, not every of_serial device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Signed-off-by: Jingchang Lu Tested-by: Joseph Lo Reviewed-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed