From: Mark Brown Date: Tue, 21 Sep 2021 21:35:31 +0000 (+0100) Subject: ASoC: fsl-mqs: Update to modern clocking terminology X-Git-Tag: block-5.16-2021-11-13~71^2~2^2^2~176 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a51da9dc9b3a844460a355cd10d0db4320f4d726;p=linux-block.git ASoC: fsl-mqs: Update to modern clocking terminology As part of moving to remove the old style defines for the bus clocks update the fsl-mqs driver to use more modern terminology for clocking. Signed-off-by: Mark Brown Reviewed-by: Fabio Estevam Link: https://lore.kernel.org/r/20210921213542.31688-5-broonie@kernel.org Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c index 69aeb0e71844..27b4536dce44 100644 --- a/sound/soc/fsl/fsl_mqs.c +++ b/sound/soc/fsl/fsl_mqs.c @@ -102,8 +102,8 @@ static int fsl_mqs_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) return -EINVAL; } - switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { - case SND_SOC_DAIFMT_CBS_CFS: + switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { + case SND_SOC_DAIFMT_CBC_CFC: break; default: return -EINVAL;