mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 22:23:18 +00:00
ASoC: sh: 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-48-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b99d00c724
commit
adced68031
@ -1724,7 +1724,7 @@ static const struct snd_soc_dai_ops fsi_dai_ops = {
|
||||
.startup = fsi_dai_startup,
|
||||
.shutdown = fsi_dai_shutdown,
|
||||
.trigger = fsi_dai_trigger,
|
||||
.set_fmt_new = fsi_dai_set_fmt,
|
||||
.set_fmt = fsi_dai_set_fmt,
|
||||
.hw_params = fsi_dai_hw_params,
|
||||
.auto_selectable_formats = &fsi_dai_formats,
|
||||
.num_auto_selectable_formats = 1,
|
||||
|
@ -1068,7 +1068,7 @@ static const struct snd_soc_dai_ops rsnd_soc_dai_ops = {
|
||||
.startup = rsnd_soc_dai_startup,
|
||||
.shutdown = rsnd_soc_dai_shutdown,
|
||||
.trigger = rsnd_soc_dai_trigger,
|
||||
.set_fmt_new = rsnd_soc_dai_set_fmt,
|
||||
.set_fmt = rsnd_soc_dai_set_fmt,
|
||||
.set_tdm_slot = rsnd_soc_set_dai_tdm_slot,
|
||||
.prepare = rsnd_soc_dai_prepare,
|
||||
.auto_selectable_formats = rsnd_soc_dai_formats,
|
||||
|
@ -840,7 +840,7 @@ static int rz_ssi_dai_hw_params(struct snd_pcm_substream *substream,
|
||||
|
||||
static const struct snd_soc_dai_ops rz_ssi_dai_ops = {
|
||||
.trigger = rz_ssi_dai_trigger,
|
||||
.set_fmt_new = rz_ssi_dai_set_fmt,
|
||||
.set_fmt = rz_ssi_dai_set_fmt,
|
||||
.hw_params = rz_ssi_dai_hw_params,
|
||||
};
|
||||
|
||||
|
@ -336,7 +336,7 @@ static const struct snd_soc_dai_ops ssi_dai_ops = {
|
||||
.hw_params = ssi_hw_params,
|
||||
.set_sysclk = ssi_set_sysclk,
|
||||
.set_clkdiv = ssi_set_clkdiv,
|
||||
.set_fmt_new = ssi_set_fmt,
|
||||
.set_fmt = ssi_set_fmt,
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_driver sh4_ssi_dai[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user