]> 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)
commite4d75aa48ac5c6755309d9008c72206395cecaf8
tree77db60e0dfa25de25d1b313bdb74d3859812c37c
parent27cfa764da5df951d81207ad8da99f529872fc64
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: eace3dd0e79a ("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