ASoC: tegra-alt: remove control_data

control_data field in snd_soc_codec is not used and hence there is
no need for initialization with driver regmap.

Bug 200503387
Bug 200520821

Change-Id: Icc6892674b7b27baf5739fcae1d6162d185acd09
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2144215
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Sameer Pujar
2019-06-26 21:11:44 +05:30
parent a5f383efa7
commit 1742937d04
16 changed files with 0 additions and 28 deletions

View File

@@ -106,8 +106,6 @@ static int tegra186_arad_codec_probe(struct snd_soc_codec *codec)
{
struct tegra186_arad *arad = snd_soc_codec_get_drvdata(codec);
codec->control_data = arad->regmap;
return 0;
}

View File

@@ -589,8 +589,6 @@ static int tegra186_asrc_codec_probe(struct snd_soc_codec *codec)
{
struct tegra186_asrc *asrc = snd_soc_codec_get_drvdata(codec);
codec->control_data = asrc->regmap;
return 0;
}

View File

@@ -268,7 +268,6 @@ static int tegra186_dspk_codec_probe(struct snd_soc_codec *codec)
{
struct tegra186_dspk *dspk = snd_soc_codec_get_drvdata(codec);
codec->control_data = dspk->regmap;
dspk->rx_fifo_th = 0;
dspk->osr_val = TEGRA186_DSPK_OSR_64;

View File

@@ -1075,8 +1075,6 @@ static int tegra_admaif_codec_probe(struct snd_soc_codec *codec)
{
struct tegra_admaif *admaif = snd_soc_codec_get_drvdata(codec);
codec->control_data = admaif->regmap;
return 0;
}

View File

@@ -525,8 +525,6 @@ static int tegra210_adx_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_adx *adx = snd_soc_codec_get_drvdata(codec);
codec->control_data = adx->regmap;
return 0;
}

View File

@@ -368,7 +368,6 @@ static int tegra210_afc_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_afc *afc = snd_soc_codec_get_drvdata(codec);
codec->control_data = afc->regmap;
tegra210_afc_init(afc);
return 0;

View File

@@ -573,8 +573,6 @@ static int tegra210_amx_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_amx *amx = snd_soc_codec_get_drvdata(codec);
codec->control_data = amx->regmap;
return 0;
}

View File

@@ -368,7 +368,6 @@ static int tegra210_dmic_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_dmic *dmic = snd_soc_codec_get_drvdata(codec);
codec->control_data = dmic->regmap;
dmic->osr_val = TEGRA210_DMIC_OSR_64;
return 0;

View File

@@ -712,7 +712,6 @@ static int tegra210_i2s_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_i2s *i2s = snd_soc_codec_get_drvdata(codec);
codec->control_data = i2s->regmap;
/* default threshold settings */
i2s->rx_fifo_th = 3;

View File

@@ -148,8 +148,6 @@ static int tegra210_iqc_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_iqc *iqc = snd_soc_codec_get_drvdata(codec);
codec->control_data = iqc->regmap;
return 0;
}

View File

@@ -304,8 +304,6 @@ static int tegra210_mixer_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_mixer *mixer = snd_soc_codec_get_drvdata(codec);
codec->control_data = mixer->regmap;
return 0;
}

View File

@@ -434,8 +434,6 @@ static int tegra210_mvc_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_mvc *mvc = snd_soc_codec_get_drvdata(codec);
codec->control_data = mvc->regmap;
return 0;
}

View File

@@ -146,8 +146,6 @@ static int tegra210_ope_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_ope *ope = snd_soc_codec_get_drvdata(codec);
codec->control_data = ope->regmap;
tegra210_peq_codec_init(codec);
tegra210_mbdrc_codec_init(codec);

View File

@@ -617,8 +617,6 @@ static int tegra210_sfc_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_sfc *sfc = snd_soc_codec_get_drvdata(codec);
codec->control_data = sfc->regmap;
return 0;
}

View File

@@ -257,8 +257,6 @@ static int tegra210_spdif_codec_probe(struct snd_soc_codec *codec)
{
struct tegra210_spdif *spdif = snd_soc_codec_get_drvdata(codec);
codec->control_data = spdif->regmap;
return 0;
}

View File

@@ -313,8 +313,6 @@ EXPORT_SYMBOL_GPL(tegra_xbar_remove);
int tegra_xbar_codec_probe(struct snd_soc_codec *codec)
{
codec->control_data = xbar->regmap;
return 0;
}
EXPORT_SYMBOL_GPL(tegra_xbar_codec_probe);