aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJani Nikula <ext-jani.1.nikula@nokia.com>2010-04-15 17:07:39 +0300
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-03 15:18:49 +0300
commit1e8943dbae98f48fc485fb9a671e94972b234cb2 (patch)
tree0d59fff19fed17880bc034887922d287bf447e58 /drivers/video
parentc8cd4547dcb350331cf80f5729ee648d8120783e (diff)
downloadkernel_samsung_tuna-1e8943dbae98f48fc485fb9a671e94972b234cb2.zip
kernel_samsung_tuna-1e8943dbae98f48fc485fb9a671e94972b234cb2.tar.gz
kernel_samsung_tuna-1e8943dbae98f48fc485fb9a671e94972b234cb2.tar.bz2
OMAP: DSS2: Taal: CABC workaround is Taal specific
Prepare for supporting panels other than Taal in this driver. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap2/displays/panel-taal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c
index 941f1f2..2a91d56 100644
--- a/drivers/video/omap2/displays/panel-taal.c
+++ b/drivers/video/omap2/displays/panel-taal.c
@@ -856,8 +856,9 @@ static int taal_power_on(struct omap_dss_device *dssdev)
if (r)
goto err;
- /* on early revisions CABC is broken */
- if (id2 == 0x00 || id2 == 0xff || id2 == 0x81)
+ /* on early Taal revisions CABC is broken */
+ if (td->panel_config->type == PANEL_TAAL &&
+ (id2 == 0x00 || id2 == 0xff || id2 == 0x81))
td->cabc_broken = true;
r = taal_dcs_write_1(DCS_BRIGHTNESS, 0xff);