ASoC: tegra: Rename set_fmt_new back to set_fmt
Now the core has been migrated across to the new direct clock specification we can move the drivers back to the normal set_fmt callback. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220519154318.2153729-51-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
15011b2388
commit
475f2af6a2
@ -311,7 +311,7 @@ static int tegra20_i2s_startup(struct snd_pcm_substream *substream,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct snd_soc_dai_ops tegra20_i2s_dai_ops = {
|
static const struct snd_soc_dai_ops tegra20_i2s_dai_ops = {
|
||||||
.set_fmt_new = tegra20_i2s_set_fmt,
|
.set_fmt = tegra20_i2s_set_fmt,
|
||||||
.hw_params = tegra20_i2s_hw_params,
|
.hw_params = tegra20_i2s_hw_params,
|
||||||
.trigger = tegra20_i2s_trigger,
|
.trigger = tegra20_i2s_trigger,
|
||||||
.startup = tegra20_i2s_startup,
|
.startup = tegra20_i2s_startup,
|
||||||
|
@ -678,7 +678,7 @@ static int tegra210_i2s_hw_params(struct snd_pcm_substream *substream,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct snd_soc_dai_ops tegra210_i2s_dai_ops = {
|
static const struct snd_soc_dai_ops tegra210_i2s_dai_ops = {
|
||||||
.set_fmt_new = tegra210_i2s_set_fmt,
|
.set_fmt = tegra210_i2s_set_fmt,
|
||||||
.hw_params = tegra210_i2s_hw_params,
|
.hw_params = tegra210_i2s_hw_params,
|
||||||
.set_bclk_ratio = tegra210_i2s_set_dai_bclk_ratio,
|
.set_bclk_ratio = tegra210_i2s_set_dai_bclk_ratio,
|
||||||
.set_tdm_slot = tegra210_i2s_set_tdm_slot,
|
.set_tdm_slot = tegra210_i2s_set_tdm_slot,
|
||||||
|
@ -304,7 +304,7 @@ static int tegra30_i2s_probe(struct snd_soc_dai *dai)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct snd_soc_dai_ops tegra30_i2s_dai_ops = {
|
static const struct snd_soc_dai_ops tegra30_i2s_dai_ops = {
|
||||||
.set_fmt_new = tegra30_i2s_set_fmt,
|
.set_fmt = tegra30_i2s_set_fmt,
|
||||||
.hw_params = tegra30_i2s_hw_params,
|
.hw_params = tegra30_i2s_hw_params,
|
||||||
.trigger = tegra30_i2s_trigger,
|
.trigger = tegra30_i2s_trigger,
|
||||||
.set_tdm_slot = tegra30_i2s_set_tdm,
|
.set_tdm_slot = tegra30_i2s_set_tdm,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user