diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-05-19 16:43:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-06 12:34:15 +0100 |
commit | 15011b2388d020a6cdb323539fc69c31b04d9f21 (patch) | |
tree | 91ff39adacc1b21b7dd5002e07591fd1fdab783a /sound/soc/sunxi | |
parent | 02ba0d9680feee645a321d65012f38d0a368b559 (diff) | |
download | linux-stable-15011b2388d020a6cdb323539fc69c31b04d9f21.tar.gz linux-stable-15011b2388d020a6cdb323539fc69c31b04d9f21.tar.bz2 linux-stable-15011b2388d020a6cdb323539fc69c31b04d9f21.zip |
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>
Diffstat (limited to 'sound/soc/sunxi')
-rw-r--r-- | sound/soc/sunxi/sun4i-i2s.c | 2 | ||||
-rw-r--r-- | sound/soc/sunxi/sun8i-codec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 872838d3e0a9..f58aa6406a87 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -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, diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c index 6e9ef948d662..90d74a2d53f3 100644 --- a/sound/soc/sunxi/sun8i-codec.c +++ b/sound/soc/sunxi/sun8i-codec.c @@ -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, |