video: tegra: dsi: Fix mipi base address
Vineel Kumar Reddy Kovvuri [Thu, 5 Sep 2013 03:52:06 +0000 (08:52 +0530)]
 Fix mipi base address in register dump prints

Change-Id: I1f7763e728322e7f84261f4e41dea21e913bcf29
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/270496
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

drivers/video/tegra/dc/mipi_cal.c

index 2f0fc05..ccb036c 100644 (file)
@@ -39,7 +39,7 @@ static int dbg_dsi_mipi_show(struct seq_file *s, void *unused)
        /* mem dd dump */
        for (col = 0, i = 0; i <= MIPI_VALID_REG_LIMIT ; i += 4) {
                if (col == 0)
-                       seq_printf(s, "%08lX:", TEGRA_MIPI_BASE + i);
+                       seq_printf(s, "%08lX:", TEGRA_MIPI_CAL_BASE + i);
                seq_printf(s, "%c%08lX", col == 2 ? '-' : ' ',
                        tegra_mipi_cal_read(mipi_cal, i));
                if (col == 3) {