video: tegra: dc: Fix build break with OF_DC_DEBUG
Aly Hirani [Thu, 15 Oct 2015 18:58:08 +0000 (11:58 -0700)]
There was a typo in a couple of the prints that were only conditionally
enabled

Change-Id: Id38f769a057b489de09dc437831ffcf4a8e4dba5
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/818370
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

drivers/video/tegra/dc/of_dc.c

index 19b557d..fc1da7c 100644 (file)
@@ -503,12 +503,12 @@ static int parse_vrr_settings(struct platform_device *ndev,
 
        if (!of_property_read_u32(np, "nvidia,vrr_min_fps", &temp)) {
                vrr->vrr_min_fps = (unsigned) temp;
-               OF_DC_LOG("vrr_min_fps %d\n", vrr_min_fps);
+               OF_DC_LOG("vrr_min_fps %d\n", vrr->vrr_min_fps);
        }
 
        if (!of_property_read_u32(np, "nvidia,frame_len_fluct", &temp)) {
                vrr->frame_len_fluct = (unsigned) temp;
-               OF_DC_LOG("frame_len_fluct %d\n", frame_len_fluct);
+               OF_DC_LOG("frame_len_fluct %d\n", vrr->frame_len_fluct);
        } else
                vrr->frame_len_fluct = 2000;