diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-18 06:17:55 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-18 06:17:55 -0500 |
commit | 1f04128a3db7c0f0e8b5d25323eba70ac342f47f (patch) | |
tree | 0740e2abd66a66ad27baed8408a043928b352c0c /sound/core | |
parent | 8b1fae4e4200388b64dd88065639413cb3f1051c (diff) |
ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule()
Replace all tasklet_hi_schedule() callers with the normal
tasklet_schedule(). The former often causes troubles with
RT-kernels, and has actually no merit.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/rawmidi.c | 4 | ||||
-rw-r--r-- | sound/core/rtctimer.c | 2 | ||||
-rw-r--r-- | sound/core/timer.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index 39672f68ce5d..002777ba336a 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c | |||
@@ -151,7 +151,7 @@ static inline void snd_rawmidi_output_trigger(struct snd_rawmidi_substream *subs | |||
151 | if (!substream->opened) | 151 | if (!substream->opened) |
152 | return; | 152 | return; |
153 | if (up) { | 153 | if (up) { |
154 | tasklet_hi_schedule(&substream->runtime->tasklet); | 154 | tasklet_schedule(&substream->runtime->tasklet); |
155 | } else { | 155 | } else { |
156 | tasklet_kill(&substream->runtime->tasklet); | 156 | tasklet_kill(&substream->runtime->tasklet); |
157 | substream->ops->trigger(substream, 0); | 157 | substream->ops->trigger(substream, 0); |
@@ -908,7 +908,7 @@ int snd_rawmidi_receive(struct snd_rawmidi_substream *substream, | |||
908 | } | 908 | } |
909 | if (result > 0) { | 909 | if (result > 0) { |
910 | if (runtime->event) | 910 | if (runtime->event) |
911 | tasklet_hi_schedule(&runtime->tasklet); | 911 | tasklet_schedule(&runtime->tasklet); |
912 | else if (snd_rawmidi_ready(substream)) | 912 | else if (snd_rawmidi_ready(substream)) |
913 | wake_up(&runtime->sleep); | 913 | wake_up(&runtime->sleep); |
914 | } | 914 | } |
diff --git a/sound/core/rtctimer.c b/sound/core/rtctimer.c index 51e64e30dd3b..0851cd13e303 100644 --- a/sound/core/rtctimer.c +++ b/sound/core/rtctimer.c | |||
@@ -118,7 +118,7 @@ static void rtctimer_tasklet(unsigned long data) | |||
118 | */ | 118 | */ |
119 | static void rtctimer_interrupt(void *private_data) | 119 | static void rtctimer_interrupt(void *private_data) |
120 | { | 120 | { |
121 | tasklet_hi_schedule(private_data); | 121 | tasklet_schedule(private_data); |
122 | } | 122 | } |
123 | 123 | ||
124 | 124 | ||
diff --git a/sound/core/timer.c b/sound/core/timer.c index c584408c9f17..796532081e81 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c | |||
@@ -743,7 +743,7 @@ void snd_timer_interrupt(struct snd_timer * timer, unsigned long ticks_left) | |||
743 | spin_unlock_irqrestore(&timer->lock, flags); | 743 | spin_unlock_irqrestore(&timer->lock, flags); |
744 | 744 | ||
745 | if (use_tasklet) | 745 | if (use_tasklet) |
746 | tasklet_hi_schedule(&timer->task_queue); | 746 | tasklet_schedule(&timer->task_queue); |
747 | } | 747 | } |
748 | 748 | ||
749 | /* | 749 | /* |