mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 04:17:29 +07:00
1f507968c3
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> |
||
---|---|---|
.. | ||
connector-analog-tv.c | ||
connector-dvi.c | ||
connector-hdmi.c | ||
encoder-opa362.c | ||
encoder-tfp410.c | ||
encoder-tpd12s015.c | ||
Kconfig | ||
Makefile | ||
panel-dpi.c | ||
panel-dsi-cm.c | ||
panel-lgphilips-lb035q02.c | ||
panel-nec-nl8048hl11.c | ||
panel-sharp-ls037v7dw01.c | ||
panel-sony-acx565akm.c | ||
panel-tpo-td028ttec1.c | ||
panel-tpo-td043mtea1.c |