Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cef929ec authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown
Browse files

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: default avatarDaniel Mack <zonque@gmail.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent ee441140
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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