forked from Minki/linux
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: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220519154318.2153729-45-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8e2cc2b241
commit
f1bd2fae85
@ -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,
|
||||||
};
|
};
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user