diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-05-19 17:42:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-06 13:33:28 +0200 |
commit | fee11f70849b21a244e6e27d281f3858b671bfea (patch) | |
tree | 976f1c71b5041dfe6a8a4bc282242f8dabb5727d /sound/soc/au1x/i2sc.c | |
parent | ASoC: atmel: Update to use set_fmt_new callback (diff) | |
download | linux-fee11f70849b21a244e6e27d281f3858b671bfea.tar.xz linux-fee11f70849b21a244e6e27d281f3858b671bfea.zip |
ASoC: au1x: Update to use set_fmt_new callback
As part of updating the core to directly tell drivers if they are clock
provider or consumer update these CPU side drivers to use the new direct
callback.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220519154318.2153729-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/au1x/i2sc.c')
-rw-r--r-- | sound/soc/au1x/i2sc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/au1x/i2sc.c b/sound/soc/au1x/i2sc.c index 740d4e052e4d..72f16b7fda3e 100644 --- a/sound/soc/au1x/i2sc.c +++ b/sound/soc/au1x/i2sc.c @@ -121,7 +121,7 @@ static int au1xi2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) /* I2S controller only supports provider */ switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { - case SND_SOC_DAIFMT_CBC_CFC: /* CODEC consumer */ + case SND_SOC_DAIFMT_BP_FP: /* CODEC consumer */ break; default: goto out; @@ -206,7 +206,7 @@ static const struct snd_soc_dai_ops au1xi2s_dai_ops = { .startup = au1xi2s_startup, .trigger = au1xi2s_trigger, .hw_params = au1xi2s_hw_params, - .set_fmt = au1xi2s_set_fmt, + .set_fmt_new = au1xi2s_set_fmt, }; static struct snd_soc_dai_driver au1xi2s_dai_driver = { |