diff options
-rw-r--r-- | sound/soc/codecs/es8328.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs/es8328.c index 3ff787063304..f27325155ace 100644 --- a/sound/soc/codecs/es8328.c +++ b/sound/soc/codecs/es8328.c | |||
@@ -602,8 +602,6 @@ static int es8328_suspend(struct snd_soc_codec *codec) | |||
602 | 602 | ||
603 | es8328 = snd_soc_codec_get_drvdata(codec); | 603 | es8328 = snd_soc_codec_get_drvdata(codec); |
604 | 604 | ||
605 | es8328_set_bias_level(codec, SND_SOC_BIAS_OFF); | ||
606 | |||
607 | clk_disable_unprepare(es8328->clk); | 605 | clk_disable_unprepare(es8328->clk); |
608 | 606 | ||
609 | ret = regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), | 607 | ret = regulator_bulk_disable(ARRAY_SIZE(es8328->supplies), |
@@ -643,7 +641,6 @@ static int es8328_resume(struct snd_soc_codec *codec) | |||
643 | return ret; | 641 | return ret; |
644 | } | 642 | } |
645 | 643 | ||
646 | es8328_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | ||
647 | return 0; | 644 | return 0; |
648 | } | 645 | } |
649 | 646 | ||
@@ -712,6 +709,8 @@ static struct snd_soc_codec_driver es8328_codec_driver = { | |||
712 | .resume = es8328_resume, | 709 | .resume = es8328_resume, |
713 | .remove = es8328_remove, | 710 | .remove = es8328_remove, |
714 | .set_bias_level = es8328_set_bias_level, | 711 | .set_bias_level = es8328_set_bias_level, |
712 | .suspend_bias_off = true, | ||
713 | |||
715 | .controls = es8328_snd_controls, | 714 | .controls = es8328_snd_controls, |
716 | .num_controls = ARRAY_SIZE(es8328_snd_controls), | 715 | .num_controls = ARRAY_SIZE(es8328_snd_controls), |
717 | .dapm_widgets = es8328_dapm_widgets, | 716 | .dapm_widgets = es8328_dapm_widgets, |