ASoC: ssm2602: Do not dereference codec->control_data
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 20 Sep 2011 06:19:58 +0000 (08:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Sep 2011 11:59:07 +0000 (12:59 +0100)
commit26806a4266c5d3301d3858317e67b1cca7ccfebb
treed07479948888e4f8c1ee46528b535007ec67128c
parentd890a1a42dff2e6987f04f18fc9e467b10e99cc9
ASoC: ssm2602: Do not dereference codec->control_data

The driver assumes that control_data points to the drivers i2c_client struct,
but this is no longer the case since the ASoC core has switched to regmap.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ssm2602.c