mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
ASoC: sunxi: 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-50-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
02ba0d9680
commit
15011b2388
@ -1081,7 +1081,7 @@ static int sun4i_i2s_set_tdm_slot(struct snd_soc_dai *dai,
|
||||
|
||||
static const struct snd_soc_dai_ops sun4i_i2s_dai_ops = {
|
||||
.hw_params = sun4i_i2s_hw_params,
|
||||
.set_fmt_new = sun4i_i2s_set_fmt,
|
||||
.set_fmt = sun4i_i2s_set_fmt,
|
||||
.set_sysclk = sun4i_i2s_set_sysclk,
|
||||
.set_tdm_slot = sun4i_i2s_set_tdm_slot,
|
||||
.trigger = sun4i_i2s_trigger,
|
||||
|
@ -630,7 +630,7 @@ done:
|
||||
}
|
||||
|
||||
static const struct snd_soc_dai_ops sun8i_codec_dai_ops = {
|
||||
.set_fmt_new = sun8i_codec_set_fmt,
|
||||
.set_fmt = sun8i_codec_set_fmt,
|
||||
.set_tdm_slot = sun8i_codec_set_tdm_slot,
|
||||
.startup = sun8i_codec_startup,
|
||||
.hw_params = sun8i_codec_hw_params,
|
||||
|
Loading…
Reference in New Issue
Block a user