aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_lcdcfb.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-14 23:59:42 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-14 23:59:42 -0400
commit60e0a4c7adc700f2d2929cdb2d0055e519a3eb3d (patch)
treeb19755368b6d0f6be3024d972de13f4b48cb025d /drivers/video/sh_mobile_lcdcfb.c
parent180aa6e6aa11922dcd4c13df1967d62bb2ede76c (diff)
parent237674e050ae8ea40a432412df6c15d60b7ae8a6 (diff)
Merge branch 'sh/stable-updates'
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.c')
-rw-r--r--drivers/video/sh_mobile_lcdcfb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index cff406de3d15..fc3f9662ceae 100644
--- a/drivers/video/sh_mobile_lcdcfb.c
+++ b/drivers/video/sh_mobile_lcdcfb.c
@@ -477,6 +477,9 @@ static int sh_mobile_lcdc_start(struct sh_mobile_lcdc_priv *priv)
477 /* tell the board code to enable the panel */ 477 /* tell the board code to enable the panel */
478 for (k = 0; k < ARRAY_SIZE(priv->ch); k++) { 478 for (k = 0; k < ARRAY_SIZE(priv->ch); k++) {
479 ch = &priv->ch[k]; 479 ch = &priv->ch[k];
480 if (!ch->enabled)
481 continue;
482
480 board_cfg = &ch->cfg.board_cfg; 483 board_cfg = &ch->cfg.board_cfg;
481 if (board_cfg->display_on) 484 if (board_cfg->display_on)
482 board_cfg->display_on(board_cfg->board_data); 485 board_cfg->display_on(board_cfg->board_data);
@@ -494,6 +497,8 @@ static void sh_mobile_lcdc_stop(struct sh_mobile_lcdc_priv *priv)
494 /* clean up deferred io and ask board code to disable panel */ 497 /* clean up deferred io and ask board code to disable panel */
495 for (k = 0; k < ARRAY_SIZE(priv->ch); k++) { 498 for (k = 0; k < ARRAY_SIZE(priv->ch); k++) {
496 ch = &priv->ch[k]; 499 ch = &priv->ch[k];
500 if (!ch->enabled)
501 continue;
497 502
498 /* deferred io mode: 503 /* deferred io mode:
499 * flush frame, and wait for frame end interrupt 504 * flush frame, and wait for frame end interrupt