kernel: bump 5.4 to 5.4.71
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 805-display-0021-DRM-mhdp-HDMI-skip-scdc-write-return-check.patch
1 From 74c383e7da3e20c201e3b0c847a3d2f6fa0dbdc6 Mon Sep 17 00:00:00 2001
2 From: Sandor Yu <Sandor.yu@nxp.com>
3 Date: Sun, 29 Sep 2019 14:48:28 +0800
4 Subject: [PATCH] DRM: mhdp: HDMI: skip scdc write return check
5
6 HDMI sink that only support HDMI1.4 is not support
7 SCDC read/write. Skip the SCDC write check and continue
8 HDMI initialize process.
9
10 Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
11 ---
12 drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c | 6 ++----
13 1 file changed, 2 insertions(+), 4 deletions(-)
14
15 --- a/drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c
16 +++ b/drivers/gpu/drm/bridge/cadence/cdns-hdmi-core.c
17 @@ -173,10 +173,8 @@ void cdns_hdmi_mode_set(struct cdns_mhdp
18 int ret;
19
20 ret = hdmi_sink_config(mhdp);
21 - if (ret < 0) {
22 - DRM_ERROR("%s failed\n", __func__);
23 - return;
24 - }
25 + if (ret < 0)
26 + DRM_DEBUG("%s failed\n", __func__);
27
28 ret = cdns_hdmi_ctrl_init(mhdp, mhdp->hdmi.hdmi_type, mhdp->hdmi.char_rate);
29 if (ret < 0) {