Skip to content
Commit 513e4385 authored by Jingchang Lu's avatar Jingchang Lu Committed by Greg Kroah-Hartman
Browse files

serial: of-serial: fix up PM ops on no_console_suspend and port type

This patch fixes commit 2dea53bf

,
"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: default avatarJingchang Lu <jingchang.lu@freescale.com>
Tested-by: default avatarJoseph Lo <josephl@nvidia.com>
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 369e2b84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment