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/pci/hda/hda_intel.c | |
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/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 74e5593a58e1..c78ff901a572 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -538,7 +538,7 @@ static unsigned int azx_rirb_get_response(struct hda_codec *codec) | |||
538 | } | 538 | } |
539 | if (! chip->rirb.cmds) | 539 | if (! chip->rirb.cmds) |
540 | return chip->rirb.res; /* the last value */ | 540 | return chip->rirb.res; /* the last value */ |
541 | schedule_timeout_interruptible(1); | 541 | schedule_timeout(1); |
542 | } while (time_after_eq(timeout, jiffies)); | 542 | } while (time_after_eq(timeout, jiffies)); |
543 | 543 | ||
544 | if (chip->msi) { | 544 | if (chip->msi) { |