Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hda_intel suspend latency: shorten codec read

not sleeping for every codec read/write but doing a short udelay and
a conditional reschedule has cut suspend+resume latency by about 1
second on my T60.

The patch also fixes the unexpected codec-connection errors that
happen more often in the new power-save mode:
http://lkml.org/lkml/2007/11/8/255
http://bugzilla.kernel.org/show_bug.cgi?id=9332

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Ingo Molnar and committed by
Linus Torvalds
57a04513 3fee37c1

+2 -1
+2 -1
sound/pci/hda/hda_intel.c
··· 555 555 } 556 556 if (!chip->rirb.cmds) 557 557 return chip->rirb.res; /* the last value */ 558 - schedule_timeout_uninterruptible(1); 558 + udelay(10); 559 + cond_resched(); 559 560 } while (time_after_eq(timeout, jiffies)); 560 561 561 562 if (chip->msi) {