summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_irq.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-12-15 12:46:41 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-12-15 16:17:31 +0200
commit83d74642b0c894e7da04295eeb82a3e1589acbcc (patch)
tree75b6edf0dd501597f49aaead18f189e68f453f7e /drivers/gpu/drm/omapdrm/omap_irq.h
parentd58eb31f50cb619c60172d752a87f2a00e9f54ed (diff)
drm/omap: dsi: skip dsi_vc_enable_hs when already in correct mode
Simplify and optimize dsi_vc_enable_hs() so that it can be called without checking the current HS/LP mode. Make dsi_vc_enable_hs() return if the VC is already in the correct mode. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-69-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.h')
0 files changed, 0 insertions, 0 deletions