linux-stable/sound/soc/samsung
Arnd Bergmann 501849d97e
ASoC: samsung: add missing "fallthrough;"
With gcc, we get a warning in this file:

In file included from include/linux/io.h:13,
                 from sound/soc/samsung/s3c-i2s-v2.c:16:
sound/soc/samsung/s3c-i2s-v2.c: In function 's3c2412_i2s_trigger':
arch/arm/include/asm/io.h:92:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
 #define __raw_writel __raw_writel
                      ^
arch/arm/include/asm/io.h:299:29: note: in expansion of macro '__raw_writel'
 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c)
                             ^~~~~~~~~~~~
arch/arm/include/asm/io.h:307:36: note: in expansion of macro 'writel_relaxed'
 #define writel(v,c)  ({ __iowmb(); writel_relaxed(v,c); })
                                    ^~~~~~~~~~~~~~
sound/soc/samsung/s3c-i2s-v2.c:398:3: note: in expansion of macro 'writel'
   writel(0x0, i2s->regs + S3C2412_IISFIC);
   ^~~~~~
sound/soc/samsung/s3c-i2s-v2.c:400:2: note: here
  case SNDRV_PCM_TRIGGER_RESUME:
  ^~~~

From all I can tell, this was indeed meant to fall through, so
add "fallthrough;" statement to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210927095449.1070639-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-09-27 13:00:53 +01:00
..
aries_wm8994.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
arndale.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
bells.c ASoC: samsung: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:45 +00:00
dma.h
dmaengine.c
h1940_uda1380.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
i2s-regs.h
i2s.c ASoC: samsung: i2s: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:20 +01:00
i2s.h
idma.c
idma.h
jive_wm8750.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
Kconfig ARM: s5pv210: don't imply CONFIG_PLAT_SAMSUNG 2020-08-19 21:34:26 +02:00
littlemill.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
lowland.c ASoC: samsung: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:45 +00:00
Makefile ASoC: samsung: Add sound support for Midas boards 2020-07-30 21:00:29 +01:00
midas_wm1811.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
neo1973_wm8753.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
odroid.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
pcm.c ASoC: samsung: pcm: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:21 +01:00
pcm.h
regs-i2s-v2.h
regs-iis.h
rx1950_uda1380.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
s3c-i2s-v2.c ASoC: samsung: add missing "fallthrough;" 2021-09-27 13:00:53 +01:00
s3c-i2s-v2.h ASoC: samsung: s3c2412-i2s: avoid hardcoded S3C2410_PA_IIS 2020-08-19 20:15:45 +01:00
s3c24xx-i2s.c ASoC: samsung: s3c24xx-i2s: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:23 +01:00
s3c24xx-i2s.h
s3c24xx_simtec.c ASoC: samsung: s3c24xx_simtec: fix spelling mistake "devicec" -> "device" 2021-09-01 16:46:48 +01:00
s3c24xx_simtec.h
s3c24xx_simtec_hermes.c
s3c24xx_simtec_tlv320aic23.c
s3c24xx_uda134x.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
s3c2412-i2s.c ASoC: samsung: s3c2412-i2s: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:22 +01:00
s3c2412-i2s.h
smartq_wm8987.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
smdk_spdif.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
smdk_wm8580.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
smdk_wm8994.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
smdk_wm8994pcm.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
snow.c ASoC: samsung: snow: remove useless test 2021-03-10 13:06:52 +00:00
spdif.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
spdif.h
speyside.c ASoC: samsung: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:45 +00:00
tm2_wm5110.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
tobermory.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00