]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: Don't call HPD registration operations recursively
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 30 May 2018 15:49:48 +0000 (18:49 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:29 +0000 (16:13 +0300)
commit949ea2ef3fed4e1d0f9b80ec21ed81a9833ac248
tree8ff15fc93638323033366a6571c04c72d441e1ff
parentf2ea55775e0591aa292e2e8d9707d0196df73d61
drm/omap: Don't call HPD registration operations recursively

Instead of calling the hot-plug detection callback registration
operations (.register_hpd_cb() and .unregister_hpd_cb()) recursively
from the display device back to the first device that provides hot plug
detection support, iterate over the devices manually in the DRM
connector code. This moves the complexity to a single central location
and simplifies the logic in omap_dss_device drivers.

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>
drivers/gpu/drm/omapdrm/displays/connector-dvi.c
drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
drivers/gpu/drm/omapdrm/omap_connector.c