aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorRene Herman <rene.herman>2007-09-18 12:10:49 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 10:50:54 -0400
commitd86d01935a4c4c818514d8c23579703abd768329 (patch)
tree6b0a1f67979fb5283511d6cf1776dca0c89507ba /sound/pci/hda
parentb44ef2f1544a0a8d3d8907890662924082d0f1fa (diff)
[ALSA] alsa-kernel: schedule_timeout() fixes
Fix schedule_timeout() use in alsa-kernel. Mostly just schedule_timeout(1) --> schedule_timeout_uninterruptible(1) The wavefront_synth one fixes the surrounding loop as well. In ymfpci_main, delete a superfluous set_current_state() and in soc/soc-dapm.c replace an _interruptible with _uninterruptible in some debug code; it's not waiting for signals. Signed-off-by: Rene Herman <rene.herman> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/hda_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index cbb3da408e80..4e3474c2b662 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -555,7 +555,7 @@ static unsigned int azx_rirb_get_response(struct hda_codec *codec)
555 } 555 }
556 if (!chip->rirb.cmds) 556 if (!chip->rirb.cmds)
557 return chip->rirb.res; /* the last value */ 557 return chip->rirb.res; /* the last value */
558 schedule_timeout(1); 558 schedule_timeout_uninterruptible(1);
559 } while (time_after_eq(timeout, jiffies)); 559 } while (time_after_eq(timeout, jiffies));
560 560
561 if (chip->msi) { 561 if (chip->msi) {