ASoC: Don't free static data in WM9713
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user