drm/omap: dss: Move src and dst check and set to connection handlers
The encoders duplicate the same omap_dss_device src and dst fields set and checks in their connect and disconnect handlers. Move the code to the connect and disconnect wrappers. Signed-off-by:Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by:
Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by:
Tomi Valkeinen <tomi.valkeinen@ti.com>
Showing
- drivers/gpu/drm/omapdrm/displays/encoder-opa362.c 0 additions, 10 deletionsdrivers/gpu/drm/omapdrm/displays/encoder-opa362.c
- drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c 0 additions, 10 deletionsdrivers/gpu/drm/omapdrm/displays/encoder-tfp410.c
- drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c 0 additions, 11 deletionsdrivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
- drivers/gpu/drm/omapdrm/dss/base.c 22 additions, 2 deletionsdrivers/gpu/drm/omapdrm/dss/base.c
- drivers/gpu/drm/omapdrm/dss/dpi.c 0 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/dpi.c
- drivers/gpu/drm/omapdrm/dss/dsi.c 0 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/dsi.c
- drivers/gpu/drm/omapdrm/dss/hdmi4.c 0 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/hdmi4.c
- drivers/gpu/drm/omapdrm/dss/hdmi5.c 0 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/hdmi5.c
- drivers/gpu/drm/omapdrm/dss/omapdss.h 3 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/omapdss.h
- drivers/gpu/drm/omapdrm/dss/output.c 0 additions, 6 deletionsdrivers/gpu/drm/omapdrm/dss/output.c
- drivers/gpu/drm/omapdrm/dss/sdi.c 0 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/sdi.c
- drivers/gpu/drm/omapdrm/dss/venc.c 0 additions, 5 deletionsdrivers/gpu/drm/omapdrm/dss/venc.c
Loading
Please register or sign in to comment