Skip to content
Commit c2b92524 authored by Girish Mahadevan's avatar Girish Mahadevan
Browse files

serial: msm_geni_serial: Modify power off sequence



For HS-UART devices, the userspace drivers control powering on/off the
port.
When these requests come in too frequently ping-ponging the port between
on and off states in quick succession can put the receive state machine of
the port in a bad state aborting/corrupting the received data.
Use delayed power-off to compensate for these cases.  Write the RX
packing and stale timeout registers only once during port setup and not
constantly during port open/close.
Also reject packets where framing/parity errors are detected.

Change-Id: Ib3e9feff5cfc12ef72d74b8f4085412c66c33b5b
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent 2f89b761
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment