projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rk3036 hdmi: fix hdmi display error when TV power down and power up
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
rockchip
/
hdmi
/
rk_hdmi_edid.c
diff --git
a/drivers/video/rockchip/hdmi/rk_hdmi_edid.c
b/drivers/video/rockchip/hdmi/rk_hdmi_edid.c
index e0238ff47970a78189bdbda9bfde3e04c57fcc00..7921c8f5e11a603309e08e1bf86471d29701918e 100755
(executable)
--- a/
drivers/video/rockchip/hdmi/rk_hdmi_edid.c
+++ b/
drivers/video/rockchip/hdmi/rk_hdmi_edid.c
@@
-223,6
+223,10
@@
static int hdmi_edid_parse_cea_sdb(unsigned char *buf, struct hdmi_edid *pedid)
if (IEEEOUI == 0x0c03)
pedid->sink_hdmi = 1;
if (IEEEOUI == 0x0c03)
pedid->sink_hdmi = 1;
+ pedid->cecaddress = buf[cur_offset + 5];
+ pedid->cecaddress |= buf[cur_offset + 4] << 8;
+ hdmi_edid_debug("[EDID-CEA] CEC Physical addres is 0x%08x.\n", pedid->cecaddress);
+
if (count > 5) {
pedid->deepcolor = (buf[6] >> 3) & 0x0F;
supports_ai = buf[6] >> 7;
if (count > 5) {
pedid->deepcolor = (buf[6] >> 3) & 0x0F;
supports_ai = buf[6] >> 7;