Hi,
This patch fixes the jbt6k74 driver resume.
Please apply :)
Thanks,
Arnaud
On resume, the display is not reenabled, resulting in a not working display.
Add a call to display_onoff() to get it back.
signed-off-by: Arnaud Patard <[EMAIL PROTECTED]>
---
drivers/spi/jbt6k74.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)
Index: linux-2.6/drivers/spi/jbt6k74.c
===================================================================
--- linux-2.6.orig/drivers/spi/jbt6k74.c 2007-07-22 22:03:39.000000000 +0200
+++ linux-2.6/drivers/spi/jbt6k74.c 2007-07-22 22:48:04.000000000 +0200
@@ -504,6 +504,7 @@ static int jbt_resume(struct spi_device
DEBUGP("entering\n");
jbt6k74_enter_state(jbt, JBT_STATE_NORMAL);
+ jbt6k74_display_onoff(jbt, 1);
return 0;
}