diff options
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index d82c1dedc467..a5027099fb4c 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c | |||
@@ -1539,9 +1539,14 @@ static int sh_mobile_lcdc_overlay_pan(struct fb_var_screeninfo *var, | |||
1539 | ovl->base_addr_c = base_addr_c; | 1539 | ovl->base_addr_c = base_addr_c; |
1540 | } | 1540 | } |
1541 | 1541 | ||
1542 | lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); | ||
1543 | |||
1542 | lcdc_write_overlay(ovl, LDBnBSAYR(ovl->index), ovl->base_addr_y); | 1544 | lcdc_write_overlay(ovl, LDBnBSAYR(ovl->index), ovl->base_addr_y); |
1543 | lcdc_write_overlay(ovl, LDBnBSACR(ovl->index), ovl->base_addr_c); | 1545 | lcdc_write_overlay(ovl, LDBnBSACR(ovl->index), ovl->base_addr_c); |
1544 | 1546 | ||
1547 | lcdc_write(ovl->channel->lcdc, LDBCR, | ||
1548 | LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); | ||
1549 | |||
1545 | ovl->pan_offset = pan_offset; | 1550 | ovl->pan_offset = pan_offset; |
1546 | 1551 | ||
1547 | return 0; | 1552 | return 0; |