[PATCH 7/8] pxa: add frame buffer on pxa168 aspenite platform

From
Eric Miao <hidden>
Date
2009-11-19 16:29:23
Also in
linux-fbdev
Reply to
Jun Nie, 2009-11-19
quoted hunk ↗ jump to hunk
+ ? ? ? int err = 0;
+ ? ? ? if (on) {
+ ? ? ? ? ? ? ? if (spi_gpio_reset != -1) {
+ ? ? ? ? ? ? ? ? ? ? ? err = gpio_request(spi_gpio_reset, "TPO_LCD_SPI_RESET");
+ ? ? ? ? ? ? ? ? ? ? ? if (err) {
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? printk(KERN_ERR "failed to request GPIO for TPO LCD RESET\n");
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? return err;
+ ? ? ? ? ? ? ? ? ? ? ? }
+ ? ? ? ? ? ? ? ? ? ? ? gpio_direction_output(spi_gpio_reset, 0);
+ ? ? ? ? ? ? ? ? ? ? ? msleep(100);
This is really a loooong delay, there any specific reason for such a long
delay, I'm seeing this to slow down the boot up significantly?

Otherwise looks OK to me, and I prefer the defconfig file change to
be a separate patch please.
Thread (7 messages) 7 messages, 2 authors, last reply 2009-11-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help