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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Nov 2011 22:35:18 +0000 (14:35 -0800)
commitd8f0e58a227e8659a357e12f0774ea63e36fd453
treedbd993b0ae0ae143d45ef5dbfc9567be27e46bbb
parentcf80307d470c66deaba601f9b55b617ca7ffc457
ASoC: Don't use wm8994->control_data in wm8994_readable_register()

commit 8eeea521d9d0fa6afd62df8c6e6566ee946117fa upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8994.c