aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/stac9766.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/stac9766.c')
-rw-r--r--sound/soc/codecs/stac9766.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index 3293629dcb3b..ee86568545c2 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -289,9 +289,6 @@ reset:
289 } 289 }
290 stac9766_set_bias_level(codec, SND_SOC_BIAS_STANDBY); 290 stac9766_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
291 291
292 if (codec->suspend_bias_level == SND_SOC_BIAS_ON)
293 stac9766_set_bias_level(codec, SND_SOC_BIAS_ON);
294
295 return 0; 292 return 0;
296} 293}
297 294
@@ -410,7 +407,7 @@ reset_err:
410pcm_err: 407pcm_err:
411 snd_soc_free_ac97_codec(codec); 408 snd_soc_free_ac97_codec(codec);
412codec_err: 409codec_err:
413 kfree(codec->private_data); 410 kfree(snd_soc_codec_get_drvdata(codec));
414cache_err: 411cache_err:
415 kfree(socdev->card->codec); 412 kfree(socdev->card->codec);
416 socdev->card->codec = NULL; 413 socdev->card->codec = NULL;