mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:52:28 +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:
parent
3b8d5515c1
commit
d8efb947ed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user