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

ALSA: pcm: Add fallthru comments

Just to improve readability.
Spotted by coverity CID 115002 and 115003.

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

+2
+2
sound/core/pcm_native.c
··· 2428 2428 case SNDRV_PCM_STATE_DRAINING: 2429 2429 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 2430 2430 goto __badfd; 2431 + /* Fall through */ 2431 2432 case SNDRV_PCM_STATE_RUNNING: 2432 2433 if ((err = snd_pcm_update_hw_ptr(substream)) < 0) 2433 2434 break; ··· 2461 2460 case SNDRV_PCM_STATE_DRAINING: 2462 2461 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 2463 2462 goto __badfd; 2463 + /* Fall through */ 2464 2464 case SNDRV_PCM_STATE_RUNNING: 2465 2465 if ((err = snd_pcm_update_hw_ptr(substream)) < 0) 2466 2466 break;