summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-06-27 22:00:05 +0200
committerMark Brown <broonie@linaro.org>2013-06-30 13:42:02 +0200
commitcef929ec4e80fcfe249c800408a5f9d72ebd5933 (patch)
tree4775dd004b380a37080a342ee2cddd3bd146bea5 /sound
parentASoC: adau1701: more direct regmap usage (diff)
downloadlinux-cef929ec4e80fcfe249c800408a5f9d72ebd5933.tar.xz
linux-cef929ec4e80fcfe249c800408a5f9d72ebd5933.zip
ASoC: adau1701: remove control_data assignment
codec->control_data has to be left unset to make the ASoC core access the regmap properly. That bug slipped in during a rebase session of the driver refactoring. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/adau1701.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c
index 4cd4dd10fa24..d1124a5b3471 100644
--- a/sound/soc/codecs/adau1701.c
+++ b/sound/soc/codecs/adau1701.c
@@ -600,8 +600,6 @@ static int adau1701_probe(struct snd_soc_codec *codec)
unsigned int val;
struct adau1701 *adau1701 = snd_soc_codec_get_drvdata(codec);
- codec->control_data = to_i2c_client(codec->dev);
-
/*
* Let the pll_clkdiv variable default to something that won't happen
* at runtime. That way, we can postpone the firmware download from