Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89bb3942 authored by Panicker Harish's avatar Panicker Harish
Browse files

serial: msm_geni_serial: Prevent excessive logging due to WARN_ON



When application layer is not reading Rx data fast
enough from tty buffers tty_insert can fail.

Whenever tty_insert fails continuously, existing WARN_ON
is resulting in excessive logging and leading to
watchdog bark.

Used WARN_ON_ONCE whenever tty_insert fails and also
when unexpected wake_up interrupts occur to prevent
excessive logging.

Change-Id: I2c59675bf23ebb2c441e5015139d1193023e05d9
Signed-off-by: default avatarVisweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: default avatarPanicker Harish <quic_pharish@quicinc.com>
parent c2664cd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment