mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: samsung: s3c24xx-i2s: Fix typo in DAIFMT handling
@ 2022-06-27  9:43 Charles Keepax
  2022-06-27  9:49 ` Krzysztof Kozlowski
  2022-06-27 20:46 ` Mark Brown
  0 siblings, 2 replies; 10+ messages in thread
From: Charles Keepax @ 2022-06-27  9:43 UTC (permalink / raw)
  To: broonie
  Cc: krzysztof.kozlowski, s.nawrocki, jrdr.linux, lgirdwood,
	alsa-devel, patches, linux-kernel

The conversion of the set_fmt callback to direct clock specification
included a small typo, correct the affected code.

Fixes: 91c49199e6d6 ("ASoC: samsung: Update to use set_fmt_new callback")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 sound/soc/samsung/s3c24xx-i2s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c
index 4082ad7cbcc11..c1a314b86b155 100644
--- a/sound/soc/samsung/s3c24xx-i2s.c
+++ b/sound/soc/samsung/s3c24xx-i2s.c
@@ -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:
-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-27 20:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-27  9:43 [PATCH] ASoC: samsung: s3c24xx-i2s: Fix typo in DAIFMT handling Charles Keepax
2022-06-27  9:49 ` Krzysztof Kozlowski
2022-06-27 11:45   ` Mark Brown
2022-06-27 12:11     ` Krzysztof Kozlowski
2022-06-27 13:07       ` Charles Keepax
2022-06-27 13:16       ` Charles Keepax
2022-06-27 13:19         ` Krzysztof Kozlowski
2022-06-27 13:23       ` Mark Brown
2022-06-27 13:28         ` Krzysztof Kozlowski
2022-06-27 20:46 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®