summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/stac9766.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-09-10 18:10:10 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-11 05:26:03 +0200
commitdbad34eac26f3d31d168486ffb906b9f46657f63 (patch)
treed9c1499819a6ef6b6541abcd05fd98545fa63e11 /sound/soc/codecs/stac9766.c
parentASoC: Revert "ASoC: ab8500: Inform SoC Core that we have our own I/O arrangem... (diff)
downloadlinux-dbad34eac26f3d31d168486ffb906b9f46657f63.tar.xz
linux-dbad34eac26f3d31d168486ffb906b9f46657f63.zip
Revert "ASoC: AC97 doesn't use regmap by default"
Since commit 98d3088e5 (SoC: core: Fix check before defaulting to regmap) , it is not necessary to provide codec->control_data anymore. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/stac9766.c')
-rw-r--r--sound/soc/codecs/stac9766.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index 33c0f3d39c87..982e437799a8 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -340,7 +340,6 @@ static int stac9766_codec_probe(struct snd_soc_codec *codec)
printk(KERN_INFO "STAC9766 SoC Audio Codec %s\n", STAC9766_VERSION);
- codec->control_data = codec; /* we don't use regmap! */
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0)
goto codec_err;