/* mx3fb_set_par() - set framebuffer parameters and change the operating mode. @fbi: framebuffer information pointer.  */
static int mx3fb_set_par(struct fb_info *fbi)
/* mx3fb_set_par() - set framebuffer parameters and change the operating mode. @fbi: framebuffer information pointer.  */
static int mx3fb_set_par(struct fb_info *fbi)
{
	struct mx3fb_info *mx3_fbi = fbi->par;
	struct mx3fb_data *mx3fb = mx3_fbi->mx3fb;
	struct idmac_channel *ichan = mx3_fbi->idmac_channel;
	int ret;
	dev_dbg(mx3fb->dev, "%s [%c]\n", __func__, list_empty(&ichan->queue) ? '-' : '+');
	mutex_lock(&mx3_fbi->mutex);
	ret = __set_par(fbi, true);
	mutex_unlock(&mx3_fbi->mutex);
	return ret;
}