]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/omap: dss: Allow looking up any device by port
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 1 Mar 2018 21:35:55 +0000 (23:35 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:26 +0000 (16:13 +0300)
commite10bd354ad79d2772842300c85ffd1a49722cfae
treea12480a156390a7c2bb1d418041f73165f1c88d8
parenta7e82a67c1d7b0be6c195a7c4cf2548fa873c056
drm/omap: dss: Allow looking up any device by port

The omap_dss_find_output_by_port() function looks up an omap_dss_device
by port from the list of devices registered as outputs. In preparation
for looking up sinks in addition to sources, allow the function to look
up any registered device. Rename it to omap_dss_find_device_by_port() to
match its new purpose.

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/dss/base.c
drivers/gpu/drm/omapdrm/dss/dss-of.c
drivers/gpu/drm/omapdrm/dss/omapdss.h
drivers/gpu/drm/omapdrm/dss/output.c