[alsa-devel] [PATCH 2/2] ASoC: adau1701: remove control_data assignment

Daniel Mack zonque at gmail.com
Thu Jun 27 22:00:05 CEST 2013

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 at gmail.com>
 sound/soc/codecs/adau1701.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c
index ce56065..16e5555 100644
--- a/sound/soc/codecs/adau1701.c
+++ b/sound/soc/codecs/adau1701.c
@@ -599,8 +599,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

More information about the Alsa-devel mailing list