]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: dc: remove redundant flag check
authorNaveen Kumar S <nkumars@nvidia.com>
Thu, 3 Dec 2015 10:25:37 +0000 (15:55 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sat, 12 Dec 2015 02:38:29 +0000 (18:38 -0800)
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
(cherry picked from commit ebde085958fdcb26110fa85e7e347c9835eb173a)
Reviewed-on: http://git-master/r/842422
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/video/tegra/dc/hdmi2.0.c

index 9de2e8e3c50ba54cb6c8c797253f239cf8201689..8b7f2e7fe12421ffbe3977ca253c71597c225280 100644 (file)
@@ -1151,7 +1151,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;