ASoC: Revert "ASoC: ab8500: Inform SoC Core that we have our own I/O arrangements"
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 10 Sep 2012 16:10:09 +0000 (13:10 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Sep 2012 03:26:02 +0000 (11:26 +0800)
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>
sound/soc/codecs/ab8500-codec.c

index 3f46bffeb0c3c55e3b02e91e8d1d331f593339e0..2c1c2524ef8c0a9fdf55d03474f0cd4b3a6e0045 100644 (file)
@@ -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);