]> err.no Git - linux-2.6/commit
[ALSA] sound/pci: fix-up sleeping paths
authorNishanth Aravamudan <nacc@us.ibm.com>
Sat, 9 Jul 2005 08:13:22 +0000 (10:13 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 28 Jul 2005 10:22:13 +0000 (12:22 +0200)
commitef21ca24faf28df6d06939e77d5032a313490289
tree1c6c719f4671b803f1288eb8cdca18587ec2eb62
parent072c01194df6e4843582d09380b780987f642d6d
[ALSA] sound/pci: fix-up sleeping paths

ENS1370/1+ driver,ES1968 driver,Intel8x0 driver,VIA82xx driver
VIA82xx-modem driver,AC97 Codec,ALI5451 driver,CS46xx driver
MIXART driver,RME HDSP driver,Trident driver,YMFPCI driver
Description: Fix-up sleeping in sound/pci. These changes fall under the
following two categories:

        1) Replace schedule_timeout() with msleep() to guarantee the
        task delays as expected. This also involved replacing/removing
        custom sleep functions.
        2) Do not assume jiffies will only increment by one if you
        request a 1 jiffy sleep, i.e. use time_after/time_before in
        while loops.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
12 files changed:
sound/pci/ac97/ac97_codec.c
sound/pci/ali5451/ali5451.c
sound/pci/cs46xx/cs46xx_lib.c
sound/pci/ens1370.c
sound/pci/es1968.c
sound/pci/intel8x0.c
sound/pci/mixart/mixart.c
sound/pci/rme9652/hdsp.c
sound/pci/trident/trident_main.c
sound/pci/via82xx.c
sound/pci/via82xx_modem.c
sound/pci/ymfpci/ymfpci_main.c