diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-05-20 06:00:43 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-20 06:00:43 -0400 |
commit | d71f4cece4bd97d05592836202fc04ff2e7817e3 (patch) | |
tree | 6c877c7a938758b1323d9c97d46b9c536e618c69 /sound/soc/codecs/stac9766.c | |
parent | 19008bdacb9f7841166ebafe0aef361ee582ffbf (diff) | |
parent | ad8332c1302bcb4f80d593fd3eb477be9d7f5604 (diff) |
Merge branch 'topic/asoc' into for-linus
Conflicts:
sound/soc/codecs/ad1938.c
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; |