ASoC: dapm: Setup private_free callback for dapm kcontrols
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Jun 2013 11:16:51 +0000 (13:16 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 14 Jun 2013 11:34:10 +0000 (12:34 +0100)
commit6b75bf0c5b17d71c3b0568caaaaae73a22f83826
treeef3d43f133e5a7962534f7caa005689268776f4e
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
ASoC: dapm: Setup private_free callback for dapm kcontrols

The private data containing the widget list that is a assigned to a DAPM
kcontrol is never freed. Setup the private_free for DAPM kcontrols to take care
of this.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c