]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: samsung: s3c24xx-i2s: Fix typo in DAIFMT handling
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 27 Jun 2022 09:43:35 +0000 (10:43 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 17:28:59 +0000 (18:28 +0100)
The conversion of the set_fmt callback to direct clock specification
included a small typo, correct the affected code.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220627094335.3051210-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/s3c24xx-i2s.c

index 4082ad7cbcc1144507b2b8d8187f1d71f805e308..c1a314b86b155678ea3f7b945a078aa600c88cf3 100644 (file)
@@ -170,7 +170,7 @@ static int s3c24xx_i2s_set_fmt(struct snd_soc_dai *cpu_dai,
        pr_debug("hw_params r: IISMOD: %x \n", iismod);
 
        switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) {
-       case SND_SOC_DAIFMT_BC_CFC:
+       case SND_SOC_DAIFMT_BC_FC:
                iismod |= S3C2410_IISMOD_SLAVE;
                break;
        case SND_SOC_DAIFMT_BP_FP: