mbox series

[0/2] tty: serial: Introduce callback for start_rx and implement same for qcom-geni-serial

Message ID 1654627965-1461-1-git-send-email-quic_vnivarth@quicinc.com
Headers show
Series tty: serial: Introduce callback for start_rx and implement same for qcom-geni-serial | expand

Message

Vijaya Krishna Nivarthi June 7, 2022, 6:52 p.m. UTC
This patch handles the problem of asynchronous data over RX like observed
in qcom-geni-serial driver while ensuring that it doesn't cause side-
effect for other drivers.

Vijaya Krishna Nivarthi (2):
  serial: core: Introduce callback for start_rx and do stop_rx in
    suspend only if this callback implementation is present.
  tty: serial: qcom-geni-serial: Implement start_rx callback

 drivers/tty/serial/qcom_geni_serial.c | 1 +
 drivers/tty/serial/serial_core.c      | 9 ++++++---
 include/linux/serial_core.h           | 1 +
 3 files changed, 8 insertions(+), 3 deletions(-)

--