diff options
-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); |