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>
This commit is contained in:
parent
a41e82e6c4
commit
cb110b665e
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user