/* Switch to a new mode. The parameters for it has been check already by omapfb_check_var.  */
static int omapfb_set_par(struct fb_info *fbi)
/* Switch to a new mode. The parameters for it has been check already by omapfb_check_var.  */
static int omapfb_set_par(struct fb_info *fbi)
{
	struct omapfb_plane_struct *plane = fbi->par;
	struct omapfb_device *fbdev = plane->fbdev;
	int r = 0;
	omapfb_rqueue_lock(fbdev);
	set_fb_fix(fbi, 0);
	r = ctrl_change_mode(fbi);
	omapfb_rqueue_unlock(fbdev);
	return r;
}