]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: Fix driver bind when only CVBS is available
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 29 May 2017 14:15:52 +0000 (16:15 +0200)
committerSean Paul <seanpaul@chromium.org>
Wed, 7 Jun 2017 14:27:33 +0000 (10:27 -0400)
commite047b3ab675a89326b12bad9d8e168821c326c18
tree77db60e0dfa25de25d1b313bdb74d3859812c37c
parent85fa51cf4ce6d61cad47b0f7bce81e135385866a
drm/meson: Fix driver bind when only CVBS is available

While introducing HDMI support, component matching on connectors node
were bypassed since no driver would actually bind on the DT node.
But when only a CVBS connector is present, only a single node is found
in the graph, but ignored and a NULL match table is given to the
component code.

This code permits bypassing the components framework by binding directly
the DRM driver when no components needs to be loaded.

Fixes: 48fc4e06436d ("drm/meson: Add support for components")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1496067352-8733-1-git-send-email-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_drv.c