Commit 0101f48a authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Bartlomiej Zolnierkiewicz

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: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent f5ed28d3
...@@ -1207,9 +1207,11 @@ static void radeon_pm_enable_dll_m10(struct radeonfb_info *rinfo) ...@@ -1207,9 +1207,11 @@ static void radeon_pm_enable_dll_m10(struct radeonfb_info *rinfo)
case 1: case 1:
if (mc & 0x4) if (mc & 0x4)
break; break;
/* fall through */
case 2: case 2:
dll_sleep_mask |= MDLL_R300_RDCK__MRDCKB_SLEEP; dll_sleep_mask |= MDLL_R300_RDCK__MRDCKB_SLEEP;
dll_reset_mask |= MDLL_R300_RDCK__MRDCKB_RESET; dll_reset_mask |= MDLL_R300_RDCK__MRDCKB_RESET;
/* fall through */
case 0: case 0:
dll_sleep_mask |= MDLL_R300_RDCK__MRDCKA_SLEEP; dll_sleep_mask |= MDLL_R300_RDCK__MRDCKA_SLEEP;
dll_reset_mask |= MDLL_R300_RDCK__MRDCKA_RESET; dll_reset_mask |= MDLL_R300_RDCK__MRDCKA_RESET;
...@@ -1218,6 +1220,7 @@ static void radeon_pm_enable_dll_m10(struct radeonfb_info *rinfo) ...@@ -1218,6 +1220,7 @@ static void radeon_pm_enable_dll_m10(struct radeonfb_info *rinfo)
case 1: case 1:
if (!(mc & 0x4)) if (!(mc & 0x4))
break; break;
/* fall through */
case 2: case 2:
dll_sleep_mask |= MDLL_R300_RDCK__MRDCKD_SLEEP; dll_sleep_mask |= MDLL_R300_RDCK__MRDCKD_SLEEP;
dll_reset_mask |= MDLL_R300_RDCK__MRDCKD_RESET; dll_reset_mask |= MDLL_R300_RDCK__MRDCKD_RESET;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment