diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-09-10 16:10:10 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-11 03:26:03 (GMT) |
commit | dbad34eac26f3d31d168486ffb906b9f46657f63 (patch) | |
tree | d9c1499819a6ef6b6541abcd05fd98545fa63e11 /sound/soc/codecs/wm9712.c | |
parent | 4ac7903f1d2cc3dce289d15ce6a6929e935983f5 (diff) | |
download | linux-fsl-qoriq-dbad34eac26f3d31d168486ffb906b9f46657f63.tar.xz |
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/wm9712.c')
-rw-r--r-- | sound/soc/codecs/wm9712.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index 1992a62..4dd73ea 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c @@ -635,7 +635,6 @@ static int wm9712_soc_probe(struct snd_soc_codec *codec) { int ret = 0; - codec->control_data = codec; /* we don't use regmap! */ ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0); if (ret < 0) { printk(KERN_ERR "wm9712: failed to register AC97 codec\n"); |