-
- Downloads
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:
Sharvil Nanavati <sharvil@google.com>
Change-Id: I3e31af195603dfa179c5e9c7398251c3ee5fba4d
Loading
Please register or sign in to comment