]> git.baikalelectronics.ru Git - kernel.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)
commitbb9c87e272f00e2c875e96ce800fcf24a6edac43
tree8ff15fc93638323033366a6571c04c72d441e1ff
parentd06ed3cdfa414fb4de6b7fcb7cf4c0b0129acacd
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