diff options
author | Min-wuk Lee <mlee@nvidia.com> | 2012-03-05 09:27:40 +0900 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-08 14:55:59 -0800 |
commit | aa20bf80c4b5e0ae8a3a1440261a97d8ab8368ec (patch) | |
tree | eca57f880a70ddd97f18785517bf3168aee747c5 /drivers/video | |
parent | 5f78d12af48203ce469d625e1e1f5f27ca252cbb (diff) |
video: tegra: dc: Remove unnecessary delay in dc postsuspend
Remove unnecessary 100ms delay for primary panel since
this is needed for HDMI type only.
Bug 940012
Change-Id: Id27966fb28faa73ade3a868a9f89cadbde76e227
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/87613
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/tegra/dc/dc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c index 115e33f16df0..1a4a6cd8eb84 100644 --- a/drivers/video/tegra/dc/dc.c +++ b/drivers/video/tegra/dc/dc.c @@ -4,7 +4,7 @@ * Copyright (C) 2010 Google, Inc. * Author: Erik Gilling <konkers@android.com> * - * Copyright (C) 2010-2011 NVIDIA Corporation + * Copyright (C) 2010-2012 NVIDIA Corporation * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -3022,7 +3022,11 @@ static int tegra_dc_suspend(struct nvhost_device *ndev, pm_message_t state) if (dc->out && dc->out->postsuspend) { dc->out->postsuspend(); - msleep(100); /* avoid resume event due to voltage falling */ + if (dc->out->type && dc->out->type == TEGRA_DC_OUT_HDMI) + /* + * avoid resume event due to voltage falling + */ + msleep(100); } mutex_unlock(&dc->lock); |