projects
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[ALSA] sound/pci: fix-up sleeping paths
[linux-2.6.git]
/
sound
/
pci
/
intel8x0.c
diff --git
a/sound/pci/intel8x0.c
b/sound/pci/intel8x0.c
index
c3c3b68
..
7c806bd
100644
(file)
--- a/
sound/pci/intel8x0.c
+++ b/
sound/pci/intel8x0.c
@@
-2464,8
+2464,7
@@
static void __devinit intel8x0_measure_ac97_clock(intel8x0_t *chip)
}
do_gettimeofday(&start_time);
spin_unlock_irq(&chip->reg_lock);
- set_current_state(TASK_UNINTERRUPTIBLE);
- schedule_timeout(HZ / 20);
+ msleep(50);
spin_lock_irq(&chip->reg_lock);
/* check the position */
pos = ichdev->fragsize1;