From: Chuck Short <zulcss@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] - pxafb should use msleep
Date: Mon, 23 May 2005 22:30:25 +0000 [thread overview]
Message-ID: <42925981.7020501@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
Hi,
This patch changes pxafb to use msleep.
Signed-of-by: Chuck Short <zulcss@gmail.com>
[-- Attachment #2: pxafb-msleep.patch --]
[-- Type: text/x-patch, Size: 735 bytes --]
diff -Naur linux-source-2.6.12-2.6.11.92.orig/drivers/video/pxafb.c linux-source-2.6.12-2.6.11.92/drivers/video/pxafb.c
--- linux-source-2.6.12-2.6.11.92.orig/drivers/video/pxafb.c 2005-04-21 06:39:57.000000000 -0400
+++ linux-source-2.6.12-2.6.11.92/drivers/video/pxafb.c 2005-05-18 12:39:56.942489336 -0400
@@ -740,14 +740,13 @@
DPRINTK("Disabling LCD controller\n");
- 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_DIS; /* 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
next reply other threads:[~2005-05-23 22:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-23 22:30 Chuck Short [this message]
2005-05-23 22:30 ` [KJ] [PATCH] - pxafb should use msleep Chuck Short
2005-05-24 5:59 ` Domen Puncer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42925981.7020501@gmail.com \
--to=zulcss@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.