* [KJ] [PATCH] sa1100fb should use msleep
@ 2005-05-23 22:33 Chuck Short
0 siblings, 0 replies; only message in thread
From: Chuck Short @ 2005-05-23 22:33 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 48 bytes --]
Signed off by: Chuck Short <zulcss@gmail.com>
[-- Attachment #2: sa1100fb-msleep.patch --]
[-- Type: text/x-patch, Size: 744 bytes --]
diff -Naur linux-source-2.6.12-2.6.11.92.orig/drivers/video/sa1100fb.c linux-source-2.6.12-2.6.11.92/drivers/video/sa1100fb.c
--- linux-source-2.6.12-2.6.11.92.orig/drivers/video/sa1100fb.c 2005-04-21 06:39:57.000000000 -0400
+++ linux-source-2.6.12-2.6.11.92/drivers/video/sa1100fb.c 2005-05-18 12:38:32.031397784 -0400
@@ -1072,14 +1072,13 @@
GPCR |= SHANNON_GPIO_DISP_EN;
}
- set_current_state(TASK_UNINTERRUPTIBLE);
add_wait_queue(&fbi->ctrlr_wait, &wait);
LCSR = 0xffffffff; /* Clear LCD Status Register */
LCCR0 &= ~LCCR0_LDM; /* Enable LCD Disable Done Interrupt */
LCCR0 &= ~LCCR0_LEN; /* Disable LCD Controller */
- schedule_timeout(20 * HZ / 1000);
+ msleep(20);
remove_wait_queue(&fbi->ctrlr_wait, &wait);
}
[-- Attachment #3: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-23 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23 22:33 [KJ] [PATCH] sa1100fb should use msleep Chuck Short
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.