tridentfb: Fix set_lwidth on TGUI9440 and CYBER9320
authorOndrej Zary <linux@rainbow-software.org>
Mon, 24 Aug 2015 19:37:26 +0000 (21:37 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 24 Sep 2015 11:35:37 +0000 (14:35 +0300)
commit23aa4db78aa7da994ae12d85acf7413ba2517946
treea412061df26ac7a76f0a15446430bda8c5eda13a
parent7f2ea957c1152a7b57c22af2ae603bf66965c06e
tridentfb: Fix set_lwidth on TGUI9440 and CYBER9320

According to X.Org driver, chips older than TGUI9660 have only 1 width bit
in AddColReg. Touching the 2nd one causes I2C/DDC to fail on TGUI9440.

Set only 1 bit of width in AddColReg on TGUI9440 and CYBER9320.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/tridentfb.c