ASoC: wsa881x: Request device ungroup for speaker disable
Request device ungroup of speaker channels for independent disable. It is possible that stereo speaker channels can be disabled one after other, so remove them from group otherwise speaker can be left in enabled state. CRs-fixed: 1007465 Change-Id: I358ab4edcb85ec65b064ca28368ad744f2d36870 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
This commit is contained in:
parent
5544d5f08c
commit
4a6320a4c5
|
@ -862,6 +862,9 @@ static int wsa881x_spkr_pa_event(struct snd_soc_dapm_widget *w,
|
|||
}
|
||||
schedule_delayed_work(&wsa881x->ocp_ctl_work,
|
||||
msecs_to_jiffies(WSA881X_OCP_CTL_TIMER_SEC * 1000));
|
||||
/* Force remove group */
|
||||
swr_remove_from_group(wsa881x->swr_slave,
|
||||
wsa881x->swr_slave->dev_num);
|
||||
break;
|
||||
case SND_SOC_DAPM_POST_PMD:
|
||||
if (wsa881x->visense_enable) {
|
||||
|
|
Loading…
Reference in New Issue