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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index 81b8c9dfe7f..a1c7ca869d0 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -409,7 +409,7 @@ reset_err:
409pcm_err: 409pcm_err:
410 snd_soc_free_ac97_codec(codec); 410 snd_soc_free_ac97_codec(codec);
411codec_err: 411codec_err:
412 kfree(codec->private_data); 412 kfree(snd_soc_codec_get_drvdata(codec));
413cache_err: 413cache_err:
414 kfree(socdev->card->codec); 414 kfree(socdev->card->codec);
415 socdev->card->codec = NULL; 415 socdev->card->codec = NULL;