aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_lcdcfb.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-11-08 23:33:29 -0500
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-11-21 18:43:20 -0500
commit41e583c22c3f907e46e329764b4606117040a1ae (patch)
tree44cecea2ef17aafc21c84f4192e357763df1fd94 /drivers/video/sh_mobile_lcdcfb.c
parent300e812db26f4aa022e346f5fb9af1af134d98d8 (diff)
fbdev: sh_mobile_lcdcfb: fixup LDHAJR :: HSYNPAJ needs mask
LDHAJR register will be broken by hsync_pos without this patch Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.c')
-rw-r--r--drivers/video/sh_mobile_lcdcfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index facffc254976..1f49ab48d0b5 100644
--- a/drivers/video/sh_mobile_lcdcfb.c
+++ b/drivers/video/sh_mobile_lcdcfb.c
@@ -420,7 +420,7 @@ static void sh_mobile_lcdc_geometry(struct sh_mobile_lcdc_chan *ch)
420 tmp = ((display_var->xres & 7) << 24) | 420 tmp = ((display_var->xres & 7) << 24) |
421 ((display_h_total & 7) << 16) | 421 ((display_h_total & 7) << 16) |
422 ((display_var->hsync_len & 7) << 8) | 422 ((display_var->hsync_len & 7) << 8) |
423 hsync_pos; 423 (hsync_pos & 7);
424 lcdc_write_chan(ch, LDHAJR, tmp); 424 lcdc_write_chan(ch, LDHAJR, tmp);
425} 425}
426 426