tmp_suning_uos_patched/sound/pci
Zhang, Rui dd2b4a7abf ALSA: hda - remove unnecessary msleep on power state transitions
This will save ~15ms boot time.

The first 10ms sleep was introduced in commit d2595d86e5 for (buggy)
Cxt codecs, so better to limit the sleep to the problem hardware.

For the second 10ms sleep, the HDA spec says:

Power State[1:0]:
00: Node Power state (D0) is fully on.
01: Node Power state (D1) allows for (does not require) the lowest possible power consuming state from which it
can return to the "fully on" state (D0) within 10 ms, excepting analog pass through circuits (e.g., CD analog
playback) which must remain fully on.
10: Node Power state (D2) allows for (does not require) the lowest possible power consuming state from which it
can return to the "fully on" state (D0) within 10 ms. For modems, this is the "wake on ring" power state.
11: Node Power state (D3) allows for (does not require) lowest possible power consuming state under software
control. Note that any low power state set by software must retain sufficient operational capability to properly
respond to subsequent software Power State command.

So 10ms is actually the max wait time. It should be safe to
remove/reduce it and rely on the loop of 1ms-sleeps.

CC: Marc Boucher <marc@linuxant.com>
CC: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-02-24 09:12:57 +01:00
..
ac97 Merge branch 'fix/hda' into topic/hda 2010-01-19 15:53:43 +01:00
ali5451 ALSA: sound: Move dereference after NULL test and drop unnecessary NULL tests 2009-10-30 12:01:27 +01:00
au88x0
aw2
ca0106 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
cs46xx tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
cs5535audio ALSA: cs5535audio: free OLPC quirks from reliance on MGEODE_LX cpu optimization 2009-12-15 08:53:27 -08:00
ctxfi Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
echoaudio ALSA: echoaudio - Re-enable the line-out control for the Mia card 2009-09-30 08:26:45 +02:00
emu10k1 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
hda ALSA: hda - remove unnecessary msleep on power state transitions 2010-02-24 09:12:57 +01:00
ice1712 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-12-09 19:52:13 -08:00
korg1212
lx6464es ALSA: lx6464es - remove unused struct member 2009-09-21 15:13:57 +02:00
mixart
nm256
oxygen sound: oxygen: fix input monitor control names 2009-09-28 11:55:17 +02:00
pcxhr
riptide ALSA: test off by one in setsamplerate() 2009-12-28 12:14:39 +01:00
rme9652 tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp_modem.c
atiixp.c ALSA: atiixp: Specify codec for Foxconn RC4107MA-RS2 2009-12-28 12:14:07 +01:00
azt3328.c ALSA: rename "PC Speaker" and "PC Beep" controls to "Beep" 2009-11-05 09:00:18 +01:00
azt3328.h
bt87x.c ALSA: bt87x - Add a whitelist for Pinnacle PCTV (11bd:0012) 2009-10-13 09:34:28 +02:00
cmipci.c ALSA: rename "PC Speaker" and "PC Beep" controls to "Beep" 2009-11-05 09:00:18 +01:00
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c ALSA: rename "PC Speaker" and "PC Beep" controls to "Beep" 2009-11-05 09:00:18 +01:00
es1968.c
fm801.c snd-fm801: autodetect SF64-PCR (tuner-only) card 2009-12-03 18:25:40 +01:00
intel8x0.c ALSA: intel8x0: Mute External Amplifier by default for Gateway 4525GZ 2009-11-25 10:01:20 +01:00
intel8x0m.c
Kconfig ALSA: ice1712: Use bitrev8 2009-11-13 08:30:22 +01:00
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx_modem.c
via82xx.c sound: via82xx: deactivate DXS controls of inactive streams 2009-10-30 12:39:22 +01:00