aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-18 05:58:24 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-25 03:08:16 -0400
commitde3050a74e2d2830189ceaa5f5fc05b776518d68 (patch)
tree7929758add4bafb8143e8a3b554a790124f17a50 /drivers/video/omap2/dss/dss.c
parent7e42403e3bbce191ad7e4ce8c598d48be6232f57 (diff)
OMAP: DSS2: Remove CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET
CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET is used to avoid an unclear bug at DSS reset time. The pm runtime will handle reset in the future, and this code has to be removed. Hopefully we won't see this error anymore. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
-rw-r--r--drivers/video/omap2/dss/dss.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c
index ff5664e0856c..810ea8cbc1e6 100644
--- a/drivers/video/omap2/dss/dss.c
+++ b/drivers/video/omap2/dss/dss.c
@@ -1037,19 +1037,6 @@ static int omap_dsshw_probe(struct platform_device *pdev)
1037 * the kernel resets it */ 1037 * the kernel resets it */
1038 omap_writel(omap_readl(0x48050440) & ~0x3, 0x48050440); 1038 omap_writel(omap_readl(0x48050440) & ~0x3, 0x48050440);
1039 1039
1040#ifdef CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET
1041 /* We need to wait here a bit, otherwise we sometimes start to
1042 * get synclost errors, and after that only power cycle will
1043 * restore DSS functionality. I have no idea why this happens.
1044 * And we have to wait _before_ resetting the DSS, but after
1045 * enabling clocks.
1046 *
1047 * This bug was at least present on OMAP3430. It's unknown
1048 * if it happens on OMAP2 or OMAP3630.
1049 */
1050 msleep(50);
1051#endif
1052
1053 _omap_dss_reset(); 1040 _omap_dss_reset();
1054 1041
1055 /* autoidle */ 1042 /* autoidle */