Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615952 > unrolled thread

[PATCH v3 04/11] drm/meson: venc_cvbs: no more return -ENODEV if CVBS is not available

Started byNeil Armstrong <narmstrong@baylibre.com>
First post2017-04-04 14:20 +0200
Last post2017-04-04 14:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 04/11] drm/meson: venc_cvbs: no more return -ENODEV if CVBS is not available Neil Armstrong <narmstrong@baylibre.com> - 2017-04-04 14:20 +0200

#1615952 — [PATCH v3 04/11] drm/meson: venc_cvbs: no more return -ENODEV if CVBS is not available

FromNeil Armstrong <narmstrong@baylibre.com>
Date2017-04-04 14:20 +0200
Subject[PATCH v3 04/11] drm/meson: venc_cvbs: no more return -ENODEV if CVBS is not available
Message-ID<tsvBg-4KM-19@gated-at.bofh.it>
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>
---
 drivers/gpu/drm/meson/meson_venc_cvbs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/meson/meson_venc_cvbs.c b/drivers/gpu/drm/meson/meson_venc_cvbs.c
index a2bcc70..a96fcb4 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),
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web