Commit 654a8d6c authored by Vijaya Krishna Nivarthi's avatar Vijaya Krishna Nivarthi Committed by Greg Kroah-Hartman

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: c9d2325c ("serial: core: Do stop_rx in suspend path for console if console_suspend is disabled")
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarVijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Link: https://lore.kernel.org/r/1654627965-1461-3-git-send-email-quic_vnivarth@quicinc.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cfab87c2
...@@ -1306,6 +1306,7 @@ static const struct uart_ops qcom_geni_console_pops = { ...@@ -1306,6 +1306,7 @@ static const struct uart_ops qcom_geni_console_pops = {
.stop_tx = qcom_geni_serial_stop_tx, .stop_tx = qcom_geni_serial_stop_tx,
.start_tx = qcom_geni_serial_start_tx, .start_tx = qcom_geni_serial_start_tx,
.stop_rx = qcom_geni_serial_stop_rx, .stop_rx = qcom_geni_serial_stop_rx,
.start_rx = qcom_geni_serial_start_rx,
.set_termios = qcom_geni_serial_set_termios, .set_termios = qcom_geni_serial_set_termios,
.startup = qcom_geni_serial_startup, .startup = qcom_geni_serial_startup,
.request_port = qcom_geni_serial_request_port, .request_port = qcom_geni_serial_request_port,
......
Markdown is supported
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