Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: opti92xx-ad1848: Use the standard fall-through annotation

As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, replace with the standard "fall through" annotation
at the right places. They have to be put right before the next
labels.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

+4 -2
+4 -2
sound/isa/opti9xx/opti92x-ad1848.c
··· 389 389 case OPTi9XX_HW_82C931: 390 390 /* disable 3D sound (set GPIO1 as output, low) */ 391 391 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(20), 0x04, 0x0c); 392 - case OPTi9XX_HW_82C933: /* FALL THROUGH */ 392 + /* fall through */ 393 + case OPTi9XX_HW_82C933: 393 394 /* 394 395 * The BTC 1817DW has QS1000 wavetable which is connected 395 396 * to the serial digital input of the OPTI931. ··· 401 400 * or digital input signal. 402 401 */ 403 402 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(26), 0x01, 0x01); 404 - case OPTi9XX_HW_82C930: /* FALL THROUGH */ 403 + /* fall through */ 404 + case OPTi9XX_HW_82C930: 405 405 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(6), 0x02, 0x03); 406 406 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(3), 0x00, 0xff); 407 407 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(4), 0x10 |