Skip to content

Commit 654a8d6

Browse files
Vijaya Krishna Nivarthigregkh
authored andcommitted
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: c9d2325 ("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>
1 parent cfab87c commit 654a8d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/tty/serial/qcom_geni_serial.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,6 +1306,7 @@ static const struct uart_ops qcom_geni_console_pops = {
13061306
.stop_tx = qcom_geni_serial_stop_tx,
13071307
.start_tx = qcom_geni_serial_start_tx,
13081308
.stop_rx = qcom_geni_serial_stop_rx,
1309+
.start_rx = qcom_geni_serial_start_rx,
13091310
.set_termios = qcom_geni_serial_set_termios,
13101311
.startup = qcom_geni_serial_startup,
13111312
.request_port = qcom_geni_serial_request_port,

0 commit comments

Comments
 (0)