/* The controller should generate 2 frames before preparing the peripheral.  */
static void dw_mipi_dsi_wait_for_two_frames(struct display_timing *timings)
/* The controller should generate 2 frames before preparing the peripheral.  */
static void dw_mipi_dsi_wait_for_two_frames(struct display_timing *timings)
{
	int refresh, two_frames;
	refresh = dsi_mode_vrefresh(timings);
	two_frames = DIV_ROUND_UP(MSEC_PER_SEC, refresh) * 2;
	mdelay(two_frames);
}