ASoC: adau1701: remove control_data assignment
authorDaniel Mack <zonque@gmail.com>
Thu, 27 Jun 2013 20:00:05 +0000 (22:00 +0200)
committerMark Brown <broonie@linaro.org>
Sun, 30 Jun 2013 11:42:02 +0000 (12:42 +0100)
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>
sound/soc/codecs/adau1701.c

index 4cd4dd10fa24d34c3f41041ae42a1d32524ee3dd..d1124a5b34713c688d92846e25cca563ed9c20ff 100644 (file)
@@ -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