diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-09 12:09:32 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-11-09 12:09:32 -0500 |
commit | 0101f48ae50d700becafbbba2c57005174c54658 (patch) | |
tree | 043e7140ff56ae1d16e781594de3090435642efa | |
parent | f5ed28d318ac4b4a835892f69135701757e5aeab (diff) |
video: fbdev: aty: radeon_pm: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r-- | drivers/video/fbdev/aty/radeon_pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/aty/radeon_pm.c b/drivers/video/fbdev/aty/radeon_pm.c index 1417542738fc..ccb069f59657 100644 --- a/drivers/video/fbdev/aty/radeon_pm.c +++ b/drivers/video/fbdev/aty/radeon_pm.c | |||
@@ -1207,9 +1207,11 @@ static void radeon_pm_enable_dll_m10(struct radeonfb_info *rinfo) | |||
1207 | case 1: | 1207 | case 1: |
1208 | if (mc & 0x4) | 1208 | if (mc & 0x4) |
1209 | break; | 1209 | break; |
1210 | /* fall through */ | ||
1210 | case 2: | 1211 | case 2: |
1211 | dll_sleep_mask |= MDLL_R300_RDCK__MRDCKB_SLEEP; | 1212 | dll_sleep_mask |= MDLL_R300_RDCK__MRDCKB_SLEEP; |
1212 | dll_reset_mask |= MDLL_R300_RDCK__MRDCKB_RESET; | 1213 | dll_reset_mask |= MDLL_R300_RDCK__MRDCKB_RESET; |
1214 | /* fall through */ | ||
1213 | case 0: | 1215 | case 0: |
1214 | dll_sleep_mask |= MDLL_R300_RDCK__MRDCKA_SLEEP; | 1216 | dll_sleep_mask |= MDLL_R300_RDCK__MRDCKA_SLEEP; |
1215 | dll_reset_mask |= MDLL_R300_RDCK__MRDCKA_RESET; | 1217 | dll_reset_mask |= MDLL_R300_RDCK__MRDCKA_RESET; |
@@ -1218,6 +1220,7 @@ static void radeon_pm_enable_dll_m10(struct radeonfb_info *rinfo) | |||
1218 | case 1: | 1220 | case 1: |
1219 | if (!(mc & 0x4)) | 1221 | if (!(mc & 0x4)) |
1220 | break; | 1222 | break; |
1223 | /* fall through */ | ||
1221 | case 2: | 1224 | case 2: |
1222 | dll_sleep_mask |= MDLL_R300_RDCK__MRDCKD_SLEEP; | 1225 | dll_sleep_mask |= MDLL_R300_RDCK__MRDCKD_SLEEP; |
1223 | dll_reset_mask |= MDLL_R300_RDCK__MRDCKD_RESET; | 1226 | dll_reset_mask |= MDLL_R300_RDCK__MRDCKD_RESET; |