Gustavo A. R. Silva 102cefc8e8
ASoC: ab8500: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warning:

In file included from sound/soc/codecs/ab8500-codec.c:24:
sound/soc/codecs/ab8500-codec.c: In function ‘ab8500_codec_set_dai_fmt’:
./include/linux/device.h:1485:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
  _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/ab8500-codec.c:2129:3: note: in expansion of macro ‘dev_err’
   dev_err(dai->component->dev,
   ^~~~~~~
sound/soc/codecs/ab8500-codec.c:2132:2: note: here
  default:
  ^~~~~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-03 23:38:38 +00:00
..
2018-02-12 09:37:29 +00:00
2019-02-04 17:12:05 +01:00
2019-01-07 16:46:37 +00:00
2018-02-27 10:41:34 +00:00
2018-10-19 17:06:07 +01:00
2015-07-07 13:35:13 +01:00
2018-09-25 10:18:38 -07:00
2019-01-07 16:51:32 +00:00
2019-01-04 15:09:48 +00:00
2018-10-25 09:00:15 -07:00
2019-03-03 23:38:16 +00:00
2016-08-08 11:55:20 +01:00
2018-02-20 12:05:58 +00:00
2018-12-07 12:20:42 +00:00
2018-04-26 12:44:15 +01:00
2018-05-18 17:46:03 +01:00
2019-02-11 16:01:31 +00:00
2019-02-11 16:01:31 +00:00
2017-07-18 14:46:20 +01:00
2019-01-07 16:52:00 +00:00
2019-01-07 16:54:34 +00:00
2015-12-19 12:02:18 +00:00
2019-01-07 16:52:14 +00:00
2018-02-12 11:48:26 +00:00
2018-10-25 09:00:15 -07:00
2018-05-18 11:20:11 +01:00
2018-06-27 12:26:41 +01:00
2018-06-27 12:26:41 +01:00
2016-06-26 12:28:13 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2018-08-28 20:11:37 +01:00
2015-04-08 19:25:40 +01:00
2019-01-03 16:34:06 +00:00
2018-09-18 10:28:29 -07:00