diff options
author | Mark Brown <broonie@kernel.org> | 2015-06-19 12:17:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-19 12:17:19 +0200 |
commit | 89a6192049050035cbd779d35686cbf29ca9184f (patch) | |
tree | f63c3344dc7ce4da5589d043d6135c7ff81508fd /sound/soc/soc-core.c | |
parent | ASoC: wm_adsp: Add basic debugfs entries (diff) | |
parent | ASoC: dapm: fix build errors for missing snd_soc_dapm_new_control symbol (diff) | |
download | linux-89a6192049050035cbd779d35686cbf29ca9184f.tar.xz linux-89a6192049050035cbd779d35686cbf29ca9184f.zip |
Merge branches 'topic/adsp' and 'topic/dapm' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-arizona
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 23732523f87c..95b5f034d864 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -750,23 +750,10 @@ static void soc_resume_deferred(struct work_struct *work) } list_for_each_entry(codec, &card->codec_dev_list, card_list) { - /* If the CODEC was idle over suspend then it will have been - * left with bias OFF or STANDBY and suspended so we must now - * resume. Otherwise the suspend was suppressed. - */ if (codec->suspended) { - switch (codec->dapm.bias_level) { - case SND_SOC_BIAS_STANDBY: - case SND_SOC_BIAS_OFF: - if (codec->driver->resume) - codec->driver->resume(codec); - codec->suspended = 0; - break; - default: - dev_dbg(codec->dev, - "ASoC: CODEC was on over suspend\n"); - break; - } + if (codec->driver->resume) + codec->driver->resume(codec); + codec->suspended = 0; } } |