[ALSA] Fix schedule_timeout usage
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 24 Oct 2005 13:02:37 +0000 (15:02 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 4 Nov 2005 12:19:49 +0000 (13:19 +0100)
commit8433a509c0eb6bb1f33ce39c82c580b8901619ee
treef1554905dee5da4e840dfd674d5b004124496a22
parentd78bec210f07b06f406b877b9179e0cc281ae8e6
[ALSA] Fix schedule_timeout usage

Use schedule_timeout_{,un}interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.  Also use
human-time conversion functions instead of hard-coded division to avoid
rounding issues.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
28 files changed:
sound/core/seq/seq_instr.c
sound/core/seq/seq_lock.c
sound/core/seq/seq_memory.c
sound/i2c/cs8427.c
sound/isa/ad1848/ad1848_lib.c
sound/isa/gus/gus_pcm.c
sound/isa/sb/emu8000.c
sound/isa/sb/emu8000_patch.c
sound/isa/sb/emu8000_pcm.c
sound/isa/sscape.c
sound/isa/wavefront/wavefront_synth.c
sound/pci/ac97/ac97_codec.c
sound/pci/ali5451/ali5451.c
sound/pci/atiixp.c
sound/pci/atiixp_modem.c
sound/pci/cs4281.c
sound/pci/ens1370.c
sound/pci/fm801.c
sound/pci/ice1712/pontis.c
sound/pci/intel8x0.c
sound/pci/intel8x0m.c
sound/pci/maestro3.c
sound/pci/mixart/mixart.c
sound/pci/trident/trident_main.c
sound/pci/via82xx.c
sound/pci/via82xx_modem.c
sound/pci/ymfpci/ymfpci_main.c
sound/usb/usbaudio.c