diff options
| author | Sebastian Reichel <[email protected]> | 2020-12-15 10:45:53 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2020-12-15 14:08:22 +0000 |
| commit | d4b561c376f816dd78807b45f6faddc4d73b1917 (patch) | |
| tree | 04b9f33968f525590f6590f7e9adc1f850ca96ed /drivers/gpu/drm/omapdrm/omap_crtc.c | |
| parent | drm/omap: dsi: drop unused enable_te() (diff) | |
| download | kernel-d4b561c376f816dd78807b45f6faddc4d73b1917.tar.gz kernel-d4b561c376f816dd78807b45f6faddc4d73b1917.zip | |
drm/omap: dsi: drop useless sync()
The DSI sync() function only locks the bus and then releases
it again. Currently the only invocation is directly before
update(), which locks the bus anyways.
Signed-off-by: Sebastian Reichel <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index f598c03855bb..a5030029f199 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -379,9 +379,6 @@ static void omap_crtc_manual_display_update(struct work_struct *data) return; } - if (dssdrv->sync) - dssdrv->sync(dssdev); - ret = dssdrv->update(dssdev, 0, 0, mode->hdisplay, mode->vdisplay); if (ret < 0) { spin_lock_irq(&dev->event_lock); |
