summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/meson
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-04-04 14:15:24 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2017-04-04 17:49:31 +0200
commitcb110b665e77ebf99f8235f257b88eea007186d3 (patch)
tree2fb757ebe0bb41d3eb0b86bbd10be4cfd4889a20 /drivers/gpu/drm/meson
parenta41e82e6c4575b6c0a48bcc25a3feae4b2910934 (diff)
downloadtalos-op-linux-cb110b665e77ebf99f8235f257b88eea007186d3.tar.gz
talos-op-linux-cb110b665e77ebf99f8235f257b88eea007186d3.zip
drm/meson: venc_cvbs: no more return -ENODEV if CVBS is not available
Since this is managed now by the components code, if CVBS is not available and HDMI neither, the drm driver won't bind anyway. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/gpu/drm/meson')
-rw-r--r--drivers/gpu/drm/meson/meson_venc_cvbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/meson/meson_venc_cvbs.c b/drivers/gpu/drm/meson/meson_venc_cvbs.c
index a2bcc70a03ef..a96fcb40f2c7 100644
--- a/drivers/gpu/drm/meson/meson_venc_cvbs.c
+++ b/drivers/gpu/drm/meson/meson_venc_cvbs.c
@@ -248,7 +248,7 @@ int meson_venc_cvbs_create(struct meson_drm *priv)
if (!meson_venc_cvbs_connector_is_available(priv)) {
dev_info(drm->dev, "CVBS Output connector not available\n");
- return -ENODEV;
+ return 0;
}
meson_venc_cvbs = devm_kzalloc(priv->dev, sizeof(*meson_venc_cvbs),
OpenPOWER on IntegriCloud