From: Jaehoon Chung Date: Thu, 9 Jul 2020 10:04:51 +0000 (+0900) Subject: ASoC: ac108: fix build warning about '-Wimplict-fallthrough' X-Git-Tag: accepted/tizen/unified/20210330.111217~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5f620d39697e88e7252510f1039220cc26f7533;p=platform%2Fkernel%2Flinux-rpi.git 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: I9f098eee46d2baa500ad2b7624cfff0ebbc81b40 Signed-off-by: Jaehoon Chung --- 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"); /**