Skip to content
Snippets Groups Projects
Commit 246571d2 authored by Zach Johnson's avatar Zach Johnson Committed by Andriy Naborskyy
Browse files

msm_serial_hs: flush pending writes on runtime resume.


If the clock is off when a write is issued, the write will be
queued until another write is issued when the clock is on. If
no other writes are issued, the queued data could be sitting in
the tx buffer for an unbounded amount of time.

This change adds a tx_pending flag to handle the case where a write
was issued while the clock was off. When the runtime resume code
path is executed, it transmits the pending data.

Signed-off-by: default avatarSharvil Nanavati <sharvil@google.com>
Change-Id: I3e31af195603dfa179c5e9c7398251c3ee5fba4d
parent 0c1c37e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment