diff options
Diffstat (limited to 'sound/soc/codecs/stac9766.c')
-rw-r--r-- | sound/soc/codecs/stac9766.c | 5 |
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: | |||
410 | pcm_err: | 407 | pcm_err: |
411 | snd_soc_free_ac97_codec(codec); | 408 | snd_soc_free_ac97_codec(codec); |
412 | codec_err: | 409 | codec_err: |
413 | kfree(codec->private_data); | 410 | kfree(snd_soc_codec_get_drvdata(codec)); |
414 | cache_err: | 411 | cache_err: |
415 | kfree(socdev->card->codec); | 412 | kfree(socdev->card->codec); |
416 | socdev->card->codec = NULL; | 413 | socdev->card->codec = NULL; |