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