提交 cb110b66 编写于 作者: N 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: NDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册