X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fvideo%2Frockchip%2Fhdmi%2Frk_hdmi_edid.c;h=7921c8f5e11a603309e08e1bf86471d29701918e;hb=e0c93ffd0ad917e2614f9ed895f1c7643ba266c4;hp=e0238ff47970a78189bdbda9bfde3e04c57fcc00;hpb=fcef60e36ffff81106b1d4304e0be0088a4f3a27;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/video/rockchip/hdmi/rk_hdmi_edid.c b/drivers/video/rockchip/hdmi/rk_hdmi_edid.c index e0238ff47970..7921c8f5e11a 100755 --- 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; + 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;