video: tegra: dc: remove redundant flag check
Naveen Kumar S [Thu, 3 Dec 2015 10:25:37 +0000 (15:25 +0530)]
While identifying VIC, aspect ratio flag is again being
checked after comparing few basic mode parameters. Hence
removing the redundant flag comparision. This avoids failure
in VIC identification when a mode does not specify  aspect ratio.

bug 200148145

Change-Id: I6298480b7d7a12c05c393276e5432bcd5e7dcd38
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/840954
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

drivers/video/tegra/dc/hdmi2.0.c

index cdea6cc..f90e6f7 100644 (file)
@@ -1167,7 +1167,6 @@ static int tegra_hdmi_find_cea_vic(struct tegra_hdmi *hdmi)
                      m.upper_margin == curr->upper_margin &&
                      m.lower_margin == curr->lower_margin &&
                      m.sync         == curr->sync &&
-                     m.flag         == curr->flag &&
                      m.vmode        == curr->vmode))
                        continue;