diff options
author | Mark Brown | 2010-11-25 12:17:24 +0100 |
---|---|---|
committer | Mark Brown | 2010-11-25 12:17:24 +0100 |
commit | 2c54c1586c78775cfdfb071e68b27e14b668921f (patch) | |
tree | cf57390a0b82d2bd1ade5e5356434c66c39af38a /sound/soc/davinci | |
parent | ASoC: smdk_wm9713: fix resource leak in smdk_init error path (diff) | |
parent | ASoC: davinci-vcif - fix a memory leak (diff) | |
download | kernel-qcow2-linux-2c54c1586c78775cfdfb071e68b27e14b668921f.tar.gz kernel-qcow2-linux-2c54c1586c78775cfdfb071e68b27e14b668921f.tar.xz kernel-qcow2-linux-2c54c1586c78775cfdfb071e68b27e14b668921f.zip |
Merge branch 'for-2.6.37' into for-2.6.38
Diffstat (limited to 'sound/soc/davinci')
-rw-r--r-- | sound/soc/davinci/davinci-vcif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-vcif.c b/sound/soc/davinci/davinci-vcif.c index fb4cc1edf339..9d2afccc3a2d 100644 --- a/sound/soc/davinci/davinci-vcif.c +++ b/sound/soc/davinci/davinci-vcif.c @@ -247,7 +247,10 @@ fail: static int davinci_vcif_remove(struct platform_device *pdev) { + struct davinci_vcif_dev *davinci_vcif_dev = dev_get_drvdata(&pdev->dev); + snd_soc_unregister_dai(&pdev->dev); + kfree(davinci_vcif_dev); return 0; } |