linux_dsm_epyc7002/drivers/gpu/drm/omapdrm/displays
Laurent Pinchart 1f507968c3 drm/omap: dss: Move debug message and checks to connection handlers
The connectors, encoders and display duplicate the same debug messages
and connection checks in their omap_dss_device connect and disconnect
handlers. Move the code to the connect and disconnect wrappers.

To simplify the code the connect function returns -EBUSY unconditionally
if the device is already connected. This doesn't cause any change in
practice: the connect handler of displays is never called on a connected
device as it is only invoked during omapdrm initialization.

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>
2018-09-03 16:13:26 +03:00
..
connector-analog-tv.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
connector-dvi.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
connector-hdmi.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
encoder-opa362.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
encoder-tfp410.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
encoder-tpd12s015.c drm/omap: dss: Add functions to connect and disconnect devices 2018-09-03 16:13:26 +03:00
Kconfig drm/omap: displays: panel-dpi: add backlight dependency 2017-11-30 12:25:37 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
panel-dpi.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-dsi-cm.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-lgphilips-lb035q02.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-nec-nl8048hl11.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-sharp-ls037v7dw01.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-sony-acx565akm.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-tpo-td028ttec1.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00
panel-tpo-td043mtea1.c drm/omap: dss: Move debug message and checks to connection handlers 2018-09-03 16:13:26 +03:00