ASoC: Don't use wm8994->control_data in wm8994_readable_register()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Nov 2011 15:52:31 +0000 (15:52 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Nov 2011 23:24:58 +0000 (23:24 +0000)
commit8eeea521d9d0fa6afd62df8c6e6566ee946117fa
treec9abd18fa17a046b6111f9c11f0789b59dbd2e3f
parent86f14df8ed1ecec5cefe7d002b4d297e298238c2
ASoC: Don't use wm8994->control_data in wm8994_readable_register()

The field is no longer initialised so this will crash if running on
wm8958.

Reported-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8994.c