[kernel] 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: Firefly <service@t-firefly.com> (cherry picked from commit 1d9b35e9d10839a9d513eed551034fd02e855f92)
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