]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/omap: encoder-tfp410: Don't fix timings in .set_timings() handler
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 19 Aug 2018 11:12:27 +0000 (14:12 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:29 +0000 (16:13 +0300)
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>
drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c

index 29bda16afbdc2ec225250f27b0b46312c3a28e92..54f133d7da073c7c07a4b002845448da16ec806a 100644 (file)
@@ -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);