Unverified Commit f1bd2fae authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

ASoC: qcom: 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: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220519154318.2153729-45-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8e2cc2b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -648,7 +648,7 @@ static const struct snd_soc_dai_ops q6hdmi_ops = {
static const struct snd_soc_dai_ops q6i2s_ops = {
static const struct snd_soc_dai_ops q6i2s_ops = {
	.prepare	= q6afe_dai_prepare,
	.prepare	= q6afe_dai_prepare,
	.hw_params	= q6i2s_hw_params,
	.hw_params	= q6i2s_hw_params,
	.set_fmt_new	= q6i2s_set_fmt,
	.set_fmt	= q6i2s_set_fmt,
	.shutdown	= q6afe_dai_shutdown,
	.shutdown	= q6afe_dai_shutdown,
	.set_sysclk	= q6afe_mi2s_set_sysclk,
	.set_sysclk	= q6afe_mi2s_set_sysclk,
};
};
+1 −1
Original line number Original line Diff line number Diff line
@@ -207,7 +207,7 @@ static const struct snd_soc_dai_ops q6i2s_ops = {
	.shutdown	= q6apm_lpass_dai_shutdown,
	.shutdown	= q6apm_lpass_dai_shutdown,
	.set_channel_map  = q6dma_set_channel_map,
	.set_channel_map  = q6dma_set_channel_map,
	.hw_params        = q6dma_hw_params,
	.hw_params        = q6dma_hw_params,
	.set_fmt_new	= q6i2s_set_fmt,
	.set_fmt	= q6i2s_set_fmt,
};
};


static const struct snd_soc_component_driver q6apm_lpass_dai_component = {
static const struct snd_soc_component_driver q6apm_lpass_dai_component = {