mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
ALSA: mixart: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
56e40eb6d6
commit
ac69c2f578
@ -182,6 +182,7 @@ static int mixart_set_clock(struct mixart_mgr *mgr,
|
||||
case PIPE_RUNNING:
|
||||
if(rate != 0)
|
||||
break;
|
||||
/* fall through */
|
||||
default:
|
||||
if(rate == 0)
|
||||
return 0; /* nothing to do */
|
||||
|
Loading…
Reference in New Issue
Block a user