Commit 0ecfe798 authored by Mark Brown's avatar Mark Brown

ASoC: Don't free static data in WM9713

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4290239c
...@@ -1283,7 +1283,6 @@ static int wm9713_soc_remove(struct platform_device *pdev) ...@@ -1283,7 +1283,6 @@ static int wm9713_soc_remove(struct platform_device *pdev)
snd_soc_free_ac97_codec(codec); snd_soc_free_ac97_codec(codec);
kfree(codec->private_data); kfree(codec->private_data);
kfree(codec->reg_cache); kfree(codec->reg_cache);
kfree(codec->dai);
kfree(codec); kfree(codec);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment