Commit cb110b66 authored by Neil Armstrong's avatar Neil Armstrong

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: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent a41e82e6
...@@ -248,7 +248,7 @@ int meson_venc_cvbs_create(struct meson_drm *priv) ...@@ -248,7 +248,7 @@ int meson_venc_cvbs_create(struct meson_drm *priv)
if (!meson_venc_cvbs_connector_is_available(priv)) { if (!meson_venc_cvbs_connector_is_available(priv)) {
dev_info(drm->dev, "CVBS Output connector not available\n"); 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), meson_venc_cvbs = devm_kzalloc(priv->dev, sizeof(*meson_venc_cvbs),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment