ASoC: wm8350: Don't use locally allocated codec struct
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Apr 2012 19:11:55 +0000 (20:11 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Apr 2012 22:34:42 +0000 (23:34 +0100)
commit30facd4d51d630b6cba386badd7f42456962089b
treea69a4b81327dd553a826332f043193d41ccebeb7
parente875c1e3e758447ba81ca450d89434b3b0496d37
ASoC: wm8350: Don't use locally allocated codec struct

The core allocates the live copies, we shouldn't try to duplicate it and
were buggy trying to do so as we were using uninitialised data for the
control data.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8350.c