From: Fabio Estevam Date: Mon, 10 Sep 2012 16:10:09 +0000 (-0300) Subject: ASoC: Revert "ASoC: ab8500: Inform SoC Core that we have our own I/O arrangements" X-Git-Tag: v3.7-rc2~30^2~1^2~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ac7903f1d2cc3dce289d15ce6a6929e935983f5;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ASoC: Revert "ASoC: ab8500: Inform SoC Core that we have our own I/O arrangements" 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c index 3f46bff..2c1c252 100644 --- a/sound/soc/codecs/ab8500-codec.c +++ b/sound/soc/codecs/ab8500-codec.c @@ -2404,9 +2404,6 @@ static int ab8500_codec_probe(struct snd_soc_codec *codec) dev_dbg(dev, "%s: Enter.\n", __func__); - /* Inform SoC Core that we have our own I/O arrangements. */ - codec->control_data = (void *)true; - /* Setup AB8500 according to board-settings */ pdata = dev_get_platdata(dev->parent);