浏览代码

drm/omap: encoder-tfp410: Don't fix timings in .set_timings() handler

Both the .check_timings() and .set_timings() handlers call
tfp410_fix_timings() to fix the timing's flags. As .check_timings() is
always called before .set_timings(), there's no need to fix the flags
twice. Remove the tfp410_fix_timings() call from .set_timings().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Laurent Pinchart 7 年之前
父节点
当前提交
9c626dee5c
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c

+ 0 - 2
drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c

@@ -92,8 +92,6 @@ static void tfp410_set_timings(struct omap_dss_device *dssdev,
 	struct panel_drv_data *ddata = to_panel_data(dssdev);
 	struct omap_dss_device *src = dssdev->src;
 
-	tfp410_fix_timings(vm);
-
 	ddata->vm = *vm;
 
 	src->ops->set_timings(src, vm);