ASoC: Don't free static data in WM9713
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Dec 2008 17:59:25 +0000 (17:59 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Dec 2008 19:58:55 +0000 (19:58 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm9713.c

index 49962a88770d2058efeffb142ecfbba4dcc88966..f3ca8aaf013944a33a9516f9c7fd9bbc690e17f0 100644 (file)
@@ -1283,7 +1283,6 @@ static int wm9713_soc_remove(struct platform_device *pdev)
        snd_soc_free_ac97_codec(codec);
        kfree(codec->private_data);
        kfree(codec->reg_cache);
-       kfree(codec->dai);
        kfree(codec);
        return 0;
 }