提交 41e583c2 编写于 作者: K Kuninori Morimoto 提交者: Florian Tobias Schandinat

fbdev: sh_mobile_lcdcfb: fixup LDHAJR :: HSYNPAJ needs mask

LDHAJR register will be broken by hsync_pos without this patch
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
上级 300e812d
......@@ -420,7 +420,7 @@ static void sh_mobile_lcdc_geometry(struct sh_mobile_lcdc_chan *ch)
tmp = ((display_var->xres & 7) << 24) |
((display_h_total & 7) << 16) |
((display_var->hsync_len & 7) << 8) |
hsync_pos;
(hsync_pos & 7);
lcdc_write_chan(ch, LDHAJR, tmp);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册