mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
asoc: msm-compress : Fix for CTS-on-gsi with gki
compress_pause was failing on gki mode due to change in stream state. The change is done to enable pausing even when the stream state is in the draining state. Change-Id: I3c29236298f4257f3606827cd82f1b962b6ad802 Signed-off-by: Vaibhav Raut <quic_vraut@quicinc.com>
This commit is contained in:
parent
65170a1b6d
commit
d607d15392
1 changed files with 1 additions and 0 deletions
|
|
@ -2017,6 +2017,7 @@ static int msm_compr_playback_open(struct snd_compr_stream *cstream)
|
|||
atomic_set(&prtd->start, 0);
|
||||
atomic_set(&prtd->drain, 0);
|
||||
#if !IS_ENABLED(CONFIG_AUDIO_QGKI)
|
||||
snd_compr_use_pause_in_draining(cstream);
|
||||
atomic_set(&prtd->partial_drain, 0);
|
||||
#endif
|
||||
atomic_set(&prtd->xrun, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue