1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

fix the gpm94b0 init in zImage

which make zImage init the LCM correct.
 now when use xbboot load zImage, the kernel can correct init the LCD
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-10-27 19:21:19 +08:00
parent 3b8d5515c1
commit d8efb947ed

View File

@ -176,6 +176,7 @@ static int __devinit gpm940b0_probe(struct spi_device *spi)
gpm940b0->enabled = 1;
dev_set_drvdata(&spi->dev, gpm940b0);
gpm940b0_write_reg(spi, 0x07, 0x8d);
gpm940b0_write_reg(spi, 0x13, 0x01);
gpm940b0_write_reg(spi, 0x5, 0xc7);
return 0;