tty: serial: qcom-geni-serial: Implement start_rx callback
authorVijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Tue, 7 Jun 2022 18:52:45 +0000 (00:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:30:41 +0000 (13:30 +0200)
commit654a8d6c93e77ecff2256ca3ab2cd98967821f0a
tree3bcf5982d21de3e400bc727c11ee50f9b461c181
parentcfab87c2c2715763dc7e43d9968bdaa01cde4bc3
tty: serial: qcom-geni-serial: Implement start_rx callback

In suspend sequence stop_rx will be performed only if implementation for
start_rx callback is present.

Set qcom_geni_serial_start_rx as callback for start_rx so that stop_rx is
performed.

Fixes: c9d2325cdb92 ("serial: core: Do stop_rx in suspend path for console if console_suspend is disabled")
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Link: https://lore.kernel.org/r/1654627965-1461-3-git-send-email-quic_vnivarth@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c