[ALSA] snd hda suspend latency: shorten codec read
authorIngo Molnar <mingo@elte.hu>
Fri, 16 Nov 2007 14:20:28 +0000 (15:20 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:26 +0000 (17:29 +0100)
commit9b1fffddc80949fb4aa93fdcc57544bc2108ced3
tree2d4020236c2297bb973a65181dcf9e02e7fb5612
parent27da183402ac5ca7d5a4c4704c4a405cd1009c43
[ALSA] snd hda 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.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_intel.c