mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v3 04/11] drm/meson: venc_cvbs: no more return -ENODEV if CVBS is not available
Date: Tue,  4 Apr 2017 14:15:24 +0200	[thread overview]
Message-ID: <1491308131-22071-5-git-send-email-narmstrong@baylibre.com> (raw)
In-Reply-To: <1491308131-22071-1-git-send-email-narmstrong@baylibre.com>

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

  parent reply	other threads:[~2017-04-04 12:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 12:15 [PATCH v3 00/11] drm/meson: Initial support for HDMI Output Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 01/11] drm/meson: Use crtc_state for hdisplay and fix atomic flush/enable sync for vsync commit Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 02/11] drm/meson: Add missing HDMI register Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 03/11] drm/meson: Add support for components Neil Armstrong
2017-04-04 12:15 ` Neil Armstrong [this message]
2017-04-04 12:15 ` [PATCH v3 05/11] drm/meson: add support for HDMI clock support Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 06/11] drm/meson: Add support for HDMI venc modes and settings Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 07/11] drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 08/11] dt-bindings: Add bindings for the Amlogic Meson dw-hdmi extension Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 09/11] drm/meson: Convert existing documentation to actual kerneldoc Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 10/11] drm/meson: Add RST to bring together kerneldoc Neil Armstrong
2017-04-04 12:15 ` [PATCH v3 11/11] MAINTAINERS: update files for Amlogic DRM Driver Neil Armstrong
2017-04-04 15:55 ` [PATCH v3 00/11] drm/meson: Initial support for HDMI Output Neil Armstrong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491308131-22071-5-git-send-email-narmstrong@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=linus-amlogic@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®