From f685473e850f914ee2bde6480e73d67165bb9a4a Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 9 Jul 2020 19:04:51 +0900 Subject: [PATCH] ASoC: ac108: fix build warning about '-Wimplict-fallthrough' Fix build warning about '-Wimplicit-fallthrough'. In file included from ./include/linux/acpi.h:15, from ./include/linux/i2c.h:13, from sound/soc/codecs/ac108.c:21: sound/soc/codecs/ac108.c: In function 'ac108_set_fmt': ./include/linux/device.h:1758:5: warning: this statement may fall through [-Wimplicit-fallthrough=] Change-Id: I89c995e338d2c2afbcc61d49495b406df76e17ab Signed-off-by: Jaehoon Chung --- sound/soc/codecs/ac108.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/ac108.c b/sound/soc/codecs/ac108.c index 82f976d..0609bef 100644 --- a/sound/soc/codecs/ac108.c +++ b/sound/soc/codecs/ac108.c @@ -865,6 +865,7 @@ static int ac108_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) { /* TODO: Both cpu_dai and codec_dai(AC108) be set as slave in DTS */ dev_dbg(dai->dev, "used as slave when AC101 is master\n"); } + /* fall through */ case SND_SOC_DAIFMT_CBS_CFS: /*AC108 Slave*/ dev_dbg(dai->dev, "AC108 set to work as Slave\n"); /** -- 2.7.4