Răsfoiți Sursa

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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Fabio Estevam 13 ani în urmă
părinte
comite
4ac7903f1d
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      sound/soc/codecs/ab8500-codec.c

+ 0 - 3
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__);
 	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 */
 	/* Setup AB8500 according to board-settings */
 	pdata = dev_get_platdata(dev->parent);
 	pdata = dev_get_platdata(dev->parent);