mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "asoc: msm-compress: Reset channel map flag during close."
This commit is contained in:
commit
564e35a030
1 changed files with 3 additions and 0 deletions
|
|
@ -1978,6 +1978,9 @@ static int msm_compr_playback_free(struct snd_compr_stream *cstream)
|
|||
kfree(pdata->dec_params[soc_prtd->dai_link->id]);
|
||||
pdata->dec_params[soc_prtd->dai_link->id] = NULL;
|
||||
}
|
||||
if (pdata->ch_map[soc_prtd->dai_link->id]) {
|
||||
pdata->ch_map[soc_prtd->dai_link->id]->set_ch_map = false;
|
||||
}
|
||||
pdata->is_in_use[soc_prtd->dai_link->id] = false;
|
||||
kfree(prtd);
|
||||
runtime->private_data = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue