Re-enable vsync

This commit is contained in:
LeTama 2010-09-04 20:33:54 +02:00
parent 2ed8402379
commit 913ce271da

View File

@ -479,13 +479,13 @@ static int mdp_lcdc_probe(struct platform_device *pdev)
lcdc->fb_panel_data.suspend = lcdc_suspend;
lcdc->fb_panel_data.resume = lcdc_resume;
lcdc->fb_panel_data.wait_vsync = lcdc_wait_vsync;
#if defined(CONFIG_MACH_HTCLEO)
//#if defined(CONFIG_MACH_HTCLEO)
// Temporarily disable vsync to prevent a scheduler bug, need
// to be looked into further.
lcdc->fb_panel_data.request_vsync = 0;
#else
//lcdc->fb_panel_data.request_vsync = 0;
//#else
lcdc->fb_panel_data.request_vsync = lcdc_request_vsync;
#endif
//#endif
lcdc->fb_panel_data.clear_vsync = lcdc_clear_vsync;
lcdc->fb_panel_data.blank = lcdc_blank;
lcdc->fb_panel_data.unblank = lcdc_unblank;