Commit 2d859783 authored by Dan Carpenter's avatar Dan Carpenter Committed by CK Hu
Browse files

drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()

We don't want to overwrite "ret", it already holds the correct error
code.  The "regmap" variable might be a valid pointer as this point.

Fixes: 8f83f268

 ("drm/mediatek: Add HDMI support")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarCK Hu <ck.hu@mediatek.com>
parent d6db988a
Supports Markdown
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