diff options
author | Luke Huang <lhuang@nvidia.com> | 2011-07-30 00:51:25 -0700 |
---|---|---|
committer | Ryan Wong <ryanw@nvidia.com> | 2011-07-31 17:36:13 -0700 |
commit | c19945cd9eea9d588d785753d150d745bf0e2586 (patch) | |
tree | 3bca6eec06f663f2f188eb33e7ba548dd4dd042f /drivers | |
parent | 360905006e9f8b9e7a9f4025b8c8f0b657ad947f (diff) |
arm: tegra: dsi: war to fix dsi issue on suspend DO NOT MERGEtegra-12r5.1-rc1tegra-12r5.1
1. Fix the command for early-suspend/late-resume
2. Disable dsi syncpt, since it is not working reliably
Change-Id: I1a1ffc6302b3436c2e3ada328fd3dfd53489d95e
Reviewed-on: http://git-master/r/44192
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 66281a39f419..6615d145d7f9 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c @@ -38,7 +38,7 @@ #include "dsi_regs.h" #include "dsi.h" -#define DSI_USE_SYNC_POINTS 1 +#define DSI_USE_SYNC_POINTS 0 #define DSI_STOP_DC_DURATION_MSEC 1000 @@ -1080,6 +1080,11 @@ static int tegra_dsi_init_hw(struct tegra_dc *dc, u32 val; u32 i; + val = DSI_POWER_CONTROL_LEG_DSI_ENABLE(TEGRA_DSI_DISABLE); + tegra_dsi_writel(dsi, val, DSI_POWER_CONTROL); + + udelay(5); + tegra_dsi_set_dsi_clk(dc, dsi, dsi->target_lp_clk_khz); if (dsi->info.dsi_instance) { /* TODO:Set the misc register*/ |