fix display size err in hdmi mode

This commit is contained in:
yxj
2012-11-12 14:57:49 +08:00
parent 441971c6e3
commit eefe9848bc

View File

@@ -405,7 +405,7 @@ static int rk_fb_set_par(struct fb_info *info)
ysize = screen->y_res;
}
#if defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF)
#if defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF) || defined(CONFIG_NO_DUAL_DISP)
if(screen->screen_id == 0) //this is for device like rk2928 ,whic have one lcdc but two display outputs
{ //save parameter set by android
dev_drv->screen0->xsize = xsize;