diff options
author | Riddhi B Dattani <rdattani@nvidia.com> | 2016-05-26 16:14:04 -0400 |
---|---|---|
committer | Mitch Luban <mluban@nvidia.com> | 2016-06-13 16:21:44 -0400 |
commit | d6e8c523b05be4cc2d4e34265ab3c4f1d97090f4 (patch) | |
tree | dcee9b60bc69e229e1deca4f456ae60d57150282 /drivers/video/tegra/dc/dsi.c | |
parent | 4f27957f1980eeae1a7a8ccf5dbdd81d0e82d022 (diff) |
video: tegra: dsi: don’t poll/probe power in sim
probing power signals or deasserting a power reset are not applicable in simulation mode.
Change-Id: I236f31931a87a5e6a57479b9c42cb37664b62c6b
Signed-off-by: Riddhi B Dattani <rdattani@nvidia.com>
Reviewed-on: http://git-master/r/1154660
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dsi.c')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 31707993b..2d317240c 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c | |||
@@ -2105,7 +2105,8 @@ static void tegra_dsi_set_dsi_clk(struct tegra_dc *dc, | |||
2105 | DIV_ROUND_UP(S_TO_MS(1), dsi->info.refresh_rate); | 2105 | DIV_ROUND_UP(S_TO_MS(1), dsi->info.refresh_rate); |
2106 | 2106 | ||
2107 | tegra_dsi_setup_clk(dc, dsi); | 2107 | tegra_dsi_setup_clk(dc, dsi); |
2108 | tegra_dsi_reset_deassert(dsi); | 2108 | if (tegra_bpmp_running()) |
2109 | tegra_dsi_reset_deassert(dsi); | ||
2109 | 2110 | ||
2110 | dsi->current_dsi_clk_khz = | 2111 | dsi->current_dsi_clk_khz = |
2111 | clk_get_rate(dsi->dsi_clk[0]) / 1000; | 2112 | clk_get_rate(dsi->dsi_clk[0]) / 1000; |