diff options
author | Phani Kumar Uppalapati <phaniu@codeaurora.org> | 2016-04-30 12:58:30 -0700 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-20 13:34:16 -0700 |
commit | bd09b08dfd097e566734483540666faf1078fda5 (patch) | |
tree | b181023eb2488117775ecf65c6323906f2709976 /sound/soc/codecs | |
parent | a8f8e620e79be9074f9ea546895e7246a3486b8f (diff) |
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>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wsa881x.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c index e0c7a0077869..0171810803a9 100644 --- a/sound/soc/codecs/wsa881x.c +++ b/sound/soc/codecs/wsa881x.c @@ -805,6 +805,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) { |