diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2010-06-02 17:31:53 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 14:19:23 +0300 |
commit | f1aafdcd42ad45a4bda5cb8f4a6782b0e48549ba (patch) | |
tree | 4997e9fdb195d0022ef7773e5618178becaa441f /drivers/video/omap2/dss/Kconfig | |
parent | d792eecd9a3e3df7c38b64a954d10ccdc665ec38 (diff) | |
download | op-kernel-dev-f1aafdcd42ad45a4bda5cb8f4a6782b0e48549ba.zip op-kernel-dev-f1aafdcd42ad45a4bda5cb8f4a6782b0e48549ba.tar.gz |
OMAP: DSS2: make 50ms bug-fix sleep optional
For some unknown reason we may get SYNC_LOST errors from the display
subsystem at initialization time if we don't sleep before resetting the
DSS. See the source (dss.c) for more comments.
However, 50ms is quite long time to sleep, and with some configurations
the SYNC_LOST may never happen, so this patch creates a Kconfig option
to disable the sleep.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/Kconfig')
-rw-r--r-- | drivers/video/omap2/dss/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/Kconfig b/drivers/video/omap2/dss/Kconfig index bfc5da0..458cfe1 100644 --- a/drivers/video/omap2/dss/Kconfig +++ b/drivers/video/omap2/dss/Kconfig @@ -125,4 +125,15 @@ config OMAP2_DSS_MIN_FCK_PER_PCK Max FCK is 173MHz, so this doesn't work if your PCK is very high. +config OMAP2_DSS_SLEEP_BEFORE_RESET + bool "Sleep 50ms before DSS reset" + default y + help + For some unknown reason we may get SYNC_LOST errors from the display + subsystem at initialization time if we don't sleep before resetting + the DSS. See the source (dss.c) for more comments. + + However, 50ms is quite long time to sleep, and with some + configurations the SYNC_LOST may never happen, so the sleep can + be disabled here. endif |