mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
video: rockchip: hdmi: fix parsing 1st block edid
If parsing 1st block edid failed, we think it is good only when there is more than one external block. Change-Id: I1eb11405dade41ebb2ad041ba909de0c7ea120f8 Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
@@ -122,7 +122,8 @@ int hdmi_edid_parse_base(unsigned char *buf,
|
||||
fb_edid_to_monspecs(buf, pedid->specs);
|
||||
|
||||
out:
|
||||
if (rc != E_HDMI_EDID_SUCCESS && *extend_num > 4)
|
||||
if ((rc != E_HDMI_EDID_SUCCESS) &&
|
||||
(*extend_num < 1 && *extend_num > 4))
|
||||
return rc;
|
||||
else
|
||||
return E_HDMI_EDID_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user