hdmitx: fix dv funciton of hdmitx doesn't work when initing system

PD#162091: hdmitx: fix dv funciton of hdmitx doesn't work

When the mode is set in uboot, the ready flag must be 1.

Change-Id: Ibb23efc6687246a417dda74bd731a25e5fcf0ae7
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
This commit is contained in:
Yi Zhou
2018-03-20 13:58:00 +08:00
committed by Jianxin Pan
parent 2d48751869
commit c2ff1a25f5

View File

@@ -478,6 +478,7 @@ static void hdmi_hwp_init(struct hdmitx_dev *hdev)
/* Bring HDMITX MEM output of power down */
hd_set_reg_bits(P_HHI_MEM_PD_REG0, 0, 8, 8);
if (hdmitx_uboot_already_display()) {
hdev->ready = 1;
/* Get uboot output color space from AVI */
switch (hdmitx_rd_reg(HDMITX_DWC_FC_AVICONF0) & 0x3) {
case 0: