提交 abf8315f 编写于 作者: J Jyri Sarha

drm/tilcdc: Fix hardcoded fail-return value in tilcdc_crtc_create()

Fix badly hardcoded return return value under fail-label. All goto
branches to the label set the "ret"-variable accordingly.
Signed-off-by: NJyri Sarha <jsarha@ti.com>
Reviewed-by: NGabriel Krisman Bertazi <krisman@collabora.co.uk>
上级 3f81e134
......@@ -1036,5 +1036,5 @@ int tilcdc_crtc_create(struct drm_device *dev)
fail:
tilcdc_crtc_destroy(crtc);
return -ENOMEM;
return ret;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册