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)
commit8604889f83381cac42b849acc6c420af6df9b35b
tree77db60e0dfa25de25d1b313bdb74d3859812c37c
parentb2cc3c8071bee6e3defa54b701671d310cb94f3c
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: a41e82e6c457 ("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