]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: serial: qcom_geni_serial: Rectify UART suspend mechanism
authorMukesh Kumar Savaliya <msavaliy@codeaurora.org>
Tue, 16 Oct 2018 14:11:00 +0000 (19:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 16:58:19 +0000 (08:58 -0800)
commitb1f84dd321667d07f08fab99d042f1e39e9ee5bb
tree12c130efa736ac5a4a53fe0bd73ca78c1dca299d
parent9f641df46b146f2ae8d013d57e2d94b8e2f4c76f
tty: serial: qcom_geni_serial: Rectify UART suspend mechanism

UART driver checks for the PM state and denies suspend if state is ACTIVE.
This makes UART to deny suspend when client keeps port open which is not
correct. Instead follow framework and obey suspend-resume callbacks.

Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c