diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-06-25 06:09:32 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:11:36 -0400 |
commit | e65365de5ba280e058bd6b8b80c8790253268887 (patch) | |
tree | 8ce89e16bd1519b620c52c407511c30f3af391f3 /sound/isa/ad1848 | |
parent | c12aad6efbee1d937438f1deabbef695add0628b (diff) |
[ALSA] Fix invalid schedule_timeout_interruptible()
Fixed the invalid use of schedule_timeout_interruptible() without
checking pending signals. Simply replaced with schedule_timeout().
Suggestions thanks to Jeff Garzik.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/isa/ad1848')
-rw-r--r-- | sound/isa/ad1848/ad1848_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c index 8094282c2ae1..1bc2e3fd5721 100644 --- a/sound/isa/ad1848/ad1848_lib.c +++ b/sound/isa/ad1848/ad1848_lib.c | |||
@@ -245,7 +245,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip) | |||
245 | snd_printk(KERN_ERR "mce_down - auto calibration time out (2)\n"); | 245 | snd_printk(KERN_ERR "mce_down - auto calibration time out (2)\n"); |
246 | return; | 246 | return; |
247 | } | 247 | } |
248 | time = schedule_timeout_interruptible(time); | 248 | time = schedule_timeout(time); |
249 | spin_lock_irqsave(&chip->reg_lock, flags); | 249 | spin_lock_irqsave(&chip->reg_lock, flags); |
250 | } | 250 | } |
251 | #if 0 | 251 | #if 0 |
@@ -258,7 +258,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip) | |||
258 | snd_printk(KERN_ERR "mce_down - auto calibration time out (3)\n"); | 258 | snd_printk(KERN_ERR "mce_down - auto calibration time out (3)\n"); |
259 | return; | 259 | return; |
260 | } | 260 | } |
261 | time = schedule_timeout_interruptible(time); | 261 | time = schedule_timeout(time); |
262 | spin_lock_irqsave(&chip->reg_lock, flags); | 262 | spin_lock_irqsave(&chip->reg_lock, flags); |
263 | } | 263 | } |
264 | spin_unlock_irqrestore(&chip->reg_lock, flags); | 264 | spin_unlock_irqrestore(&chip->reg_lock, flags); |