video: tegra: hdmi: fix vic detection for avi infoframe
authorErik Gilling <konkers@android.com>
Mon, 28 Feb 2011 21:13:09 +0000 (13:13 -0800)
committerErik Gilling <konkers@android.com>
Mon, 28 Feb 2011 22:37:00 +0000 (14:37 -0800)
typeo was causing 1080p VICs to never be populated

Change-Id: Idde037cf0d4b71370cff7e65a2135b8c60a91fa0
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/video/tegra/dc/hdmi.c

index 8b8afe22254dba45bae5f3ca8fb76210342f19b6..14e90dc79f48cab73256cd78f37f44e6fd3f6e53 100644 (file)
@@ -844,7 +844,7 @@ static void tegra_dc_hdmi_setup_avi_infoframe(struct tegra_dc *dc, bool dvi)
                        avi.vic = 4; /* 60 Hz */
                else
                        avi.vic = 19; /* 50 Hz */
-       } else if (dc->mode.v_active == 720) {
+       } else if (dc->mode.v_active == 1080) {
                avi.m = HDMI_AVI_M_16_9;
                if (dc->mode.h_front_porch == 88)
                        avi.vic = 16; /* 60 Hz */