ASoC: adau1701: Initialize codec->control_data before using it
authorAxel Lin <axel.lin@gmail.com>
Wed, 28 Sep 2011 07:21:28 +0000 (15:21 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 08:58:06 +0000 (09:58 +0100)
commit23d622b14b0209d243f5990cb4d369d4fffaf335
tree236236a0912e93b870f259e55d46b76a5fd04c22
parent458f6f692105d4c08ef9e6b777022a829b1494b5
ASoC: adau1701: Initialize codec->control_data before using it

Currently codec->control_data is not initialized before calling
process_sigma_firmware(codec->control_data, ADAU1701_FIRMWARE).

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/adau1701.c