提交 1e8943db 编写于 作者: J Jani Nikula 提交者: Tomi Valkeinen

OMAP: DSS2: Taal: CABC workaround is Taal specific

Prepare for supporting panels other than Taal in this driver.
Signed-off-by: NJani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
上级 c8cd4547
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册