commit | 65dabcd68459e0debca3cbbb7e7610546ae3087a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 28 17:31:30 2019 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 10 17:52:08 2019 +0200 |
tree | 2460b31f0b967ffce24c0a9cdf1a9cf799629589 | |
parent | d64c4bd68bc6b5a15794cab9c9bbc65d1ea5f34c [diff] |
drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata() [ Upstream commit 2d85978341e6a32e7443d9f28639da254d53f400 ] 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: 8f83f26891e1 ("drm/mediatek: Add HDMI support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Sasha Levin <sashal@kernel.org>