diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 2183f840a7ac..6ea1ff149f6f 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c | |||
@@ -325,6 +325,7 @@ void dss_select_dispc_clk_source(enum omap_dss_clk_source clk_src) | |||
325 | break; | 325 | break; |
326 | default: | 326 | default: |
327 | BUG(); | 327 | BUG(); |
328 | return; | ||
328 | } | 329 | } |
329 | 330 | ||
330 | dss_feat_get_reg_field(FEAT_REG_DISPC_CLK_SWITCH, &start, &end); | 331 | dss_feat_get_reg_field(FEAT_REG_DISPC_CLK_SWITCH, &start, &end); |
@@ -358,6 +359,7 @@ void dss_select_dsi_clk_source(int dsi_module, | |||
358 | break; | 359 | break; |
359 | default: | 360 | default: |
360 | BUG(); | 361 | BUG(); |
362 | return; | ||
361 | } | 363 | } |
362 | 364 | ||
363 | pos = dsi_module == 0 ? 1 : 10; | 365 | pos = dsi_module == 0 ? 1 : 10; |
@@ -393,6 +395,7 @@ void dss_select_lcd_clk_source(enum omap_channel channel, | |||
393 | break; | 395 | break; |
394 | default: | 396 | default: |
395 | BUG(); | 397 | BUG(); |
398 | return; | ||
396 | } | 399 | } |
397 | 400 | ||
398 | pos = channel == OMAP_DSS_CHANNEL_LCD ? 0 : 12; | 401 | pos = channel == OMAP_DSS_CHANNEL_LCD ? 0 : 12; |