diff options
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 5 |
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 941f1f208c9e..2a91d5662c07 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) | |||
856 | if (r) | 856 | if (r) |
857 | goto err; | 857 | goto err; |
858 | 858 | ||
859 | /* on early revisions CABC is broken */ | 859 | /* on early Taal revisions CABC is broken */ |
860 | if (id2 == 0x00 || id2 == 0xff || id2 == 0x81) | 860 | if (td->panel_config->type == PANEL_TAAL && |
861 | (id2 == 0x00 || id2 == 0xff || id2 == 0x81)) | ||
861 | td->cabc_broken = true; | 862 | td->cabc_broken = true; |
862 | 863 | ||
863 | r = taal_dcs_write_1(DCS_BRIGHTNESS, 0xff); | 864 | r = taal_dcs_write_1(DCS_BRIGHTNESS, 0xff); |