On 05/23/2007 09:34 PM, Alan Cox wrote:
driver was snappy in that regard. When I replaced our sleeping loop with a
busy-wait same as the original the snappyness returned and moreover, reading
the TOC from the CD went from something close to a minute to approximately a
second. Thought that minu
On 05/23/2007 09:28 PM, Ingo Molnar wrote:
* Rene Herman <[EMAIL PROTECTED]> wrote:
The trouble there is that unless you poll the bloody thing like mad
too much of the Q subchannels passes below you and you need a huge
number of retries to get anything out of it. I noticed when I started
add
> driver was snappy in that regard. When I replaced our sleeping loop with a
> busy-wait same as the original the snappyness returned and moreover, reading
> the TOC from the CD went from something close to a minute to approximately a
> second. Thought that minute was just because I was dealing
* Rene Herman <[EMAIL PROTECTED]> wrote:
> The trouble there is that unless you poll the bloody thing like mad
> too much of the Q subchannels passes below you and you need a huge
> number of retries to get anything out of it. I noticed when I started
> adding audio bits that the driver took f
On 05/22/2007 12:25 PM, Thomas Gleixner wrote:
From: Ingo Molnar <[EMAIL PROTECTED]>
The SJCD driver uses a jiffies busy loop. Replace it with msleep.
Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
Acked-by: Thomas Gleixner <[EMAIL PROTECTED]>
Okay, that's just waiting for a reset to complet
On Tue, May 22 2007, Ingo Molnar wrote:
>
> * Jeff Garzik <[EMAIL PROTECTED]> wrote:
>
> > >@@ -1709,12 +1710,11 @@ static int __init sjcd_init(void)
> > > printk(KERN_INFO "SJCD: Resetting: ");
> > > sjcd_send_cmd(SCMD_RESET);
> > > for (i = 1000; i > 0 && !sjcd_status_valid; --i) {
> > >-
* Jeff Garzik <[EMAIL PROTECTED]> wrote:
> >@@ -1709,12 +1710,11 @@ static int __init sjcd_init(void)
> > printk(KERN_INFO "SJCD: Resetting: ");
> > sjcd_send_cmd(SCMD_RESET);
> > for (i = 1000; i > 0 && !sjcd_status_valid; --i) {
> >-unsigned long timer;
> >-
> >
Thomas Gleixner wrote:
From: Ingo Molnar <[EMAIL PROTECTED]>
The SJCD driver uses a jiffies busy loop. Replace it with msleep.
Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
Acked-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
drivers/cdrom/sjcd.c |6 +++---
1 file changed, 3 insertions(+),
From: Ingo Molnar <[EMAIL PROTECTED]>
The SJCD driver uses a jiffies busy loop. Replace it with msleep.
Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
Acked-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
drivers/cdrom/sjcd.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: li
9 matches
Mail list logo