wm8994.c (85a3685852d9ac7d92be9d824533c915a4597fa4) | wm8994.c (bd1204cb51f15d202f95222e873a94ed5d07b784) |
---|---|
1/* 2 * wm8994.c -- WM8994 ALSA SoC Audio driver 3 * 4 * Copyright 2009-12 Wolfson Microelectronics plc 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * --- 3149 unchanged lines hidden (view full) --- 3158 memcpy(&wm8994->fll_suspend[i], &wm8994->fll[i], 3159 sizeof(struct wm8994_fll_config)); 3160 ret = _wm8994_set_fll(codec, i + 1, 0, 0, 0); 3161 if (ret < 0) 3162 dev_warn(codec->dev, "Failed to stop FLL%d: %d\n", 3163 i + 1, ret); 3164 } 3165 | 1/* 2 * wm8994.c -- WM8994 ALSA SoC Audio driver 3 * 4 * Copyright 2009-12 Wolfson Microelectronics plc 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * --- 3149 unchanged lines hidden (view full) --- 3158 memcpy(&wm8994->fll_suspend[i], &wm8994->fll[i], 3159 sizeof(struct wm8994_fll_config)); 3160 ret = _wm8994_set_fll(codec, i + 1, 0, 0, 0); 3161 if (ret < 0) 3162 dev_warn(codec->dev, "Failed to stop FLL%d: %d\n", 3163 i + 1, ret); 3164 } 3165 |
3166 wm8994_set_bias_level(codec, SND_SOC_BIAS_OFF); | 3166 snd_soc_codec_force_bias_level(codec, SND_SOC_BIAS_OFF); |
3167 3168 return 0; 3169} 3170 3171static int wm8994_codec_resume(struct snd_soc_codec *codec) 3172{ 3173 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); 3174 int i, ret; --- 1349 unchanged lines hidden --- | 3167 3168 return 0; 3169} 3170 3171static int wm8994_codec_resume(struct snd_soc_codec *codec) 3172{ 3173 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); 3174 int i, ret; --- 1349 unchanged lines hidden --- |