video: tegra: dsi: Make phy warning verbose
Animesh Kishore [Fri, 6 Sep 2013 09:00:17 +0000 (14:00 +0530)]
Increase verboseness of phy timing warnings.

Bug 1357180

Change-Id: I58577cf4cbab765f23a9edae793e031fbec38a55
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/271398
(cherry picked from commit 661a4a1e1966e79616c89ad18845eef5245c41bb)
Reviewed-on: http://git-master/r/273017
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

drivers/video/tegra/dc/dsi.c

index 620aacd..59f427c 100644 (file)
@@ -1207,7 +1207,8 @@ static int tegra_dsi_hs_phy_len(struct tegra_dc_dsi_data *dsi,
        if (h_blank_ns < t_phy_ns) {
                err = -EINVAL;
                dev_WARN(&dsi->dc->ndev->dev,
-                       "dsi: Hblank is smaller than HS trans phy timing\n");
+                       "dsi: Hblank is smaller than HS phy timing: %u pix\n",
+                                       (t_phy_ns - h_blank_ns) / t_pix_ns);
                goto fail;
        }