mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
3725369f94
commit
f5ed28d318
1 changed files with 1 additions and 0 deletions
|
|
@ -1008,6 +1008,7 @@ static int sm501fb_blank_crt(int blank_mode, struct fb_info *info)
|
|||
case FB_BLANK_POWERDOWN:
|
||||
ctrl &= ~SM501_DC_CRT_CONTROL_ENABLE;
|
||||
sm501_misc_control(fbi->dev->parent, SM501_MISC_DAC_POWER, 0);
|
||||
/* fall through */
|
||||
|
||||
case FB_BLANK_NORMAL:
|
||||
ctrl |= SM501_DC_CRT_CONTROL_BLANK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue