]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: lcd_lph8923: fix register read / write
authorImre Deak <imre.deak@nokia.com>
Mon, 20 Feb 2006 16:51:18 +0000 (18:51 +0200)
committerJuha Yrjola <juha.yrjola@nokia.com>
Mon, 20 Feb 2006 16:51:18 +0000 (18:51 +0200)
commitabd2557cee2ffddc23c7af39b083e4880b1ea9d9
treeb96ffc1b64faaf5097420e5e7093eff15fa7fed6
parent171a376dd02b6bfc2982dc21c9415cf669457331
ARM: OMAP: lcd_lph8923: fix register read / write

A local variable hiding the one with the same name at an upper scope,
resulted in storing the register address instead of the desired value in
LCD registers.

In register writes there is no extra cycle after the command, so we use
only 9-bit word size.

Fix from Peter Ujfalusi <peter.ujfalusi@nokia.com>.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
drivers/video/omap/lcd_lph8923.c