Loading sound/pci/rme9652/hdsp.c +5 −9 Original line number Original line Diff line number Diff line Loading @@ -1428,10 +1428,8 @@ static void snd_hdsp_midi_output_timer(unsigned long data) leaving istimer wherever it was set before. leaving istimer wherever it was set before. */ */ if (hmidi->istimer) { if (hmidi->istimer) hmidi->timer.expires = 1 + jiffies; mod_timer(&hmidi->timer, 1 + jiffies); add_timer(&hmidi->timer); } spin_unlock_irqrestore (&hmidi->lock, flags); spin_unlock_irqrestore (&hmidi->lock, flags); } } Loading @@ -1445,11 +1443,9 @@ static void snd_hdsp_midi_output_trigger(struct snd_rawmidi_substream *substream spin_lock_irqsave (&hmidi->lock, flags); spin_lock_irqsave (&hmidi->lock, flags); if (up) { if (up) { if (!hmidi->istimer) { if (!hmidi->istimer) { init_timer(&hmidi->timer); setup_timer(&hmidi->timer, snd_hdsp_midi_output_timer, hmidi->timer.function = snd_hdsp_midi_output_timer; (unsigned long) hmidi); hmidi->timer.data = (unsigned long) hmidi; mod_timer(&hmidi->timer, 1 + jiffies); hmidi->timer.expires = 1 + jiffies; add_timer(&hmidi->timer); hmidi->istimer++; hmidi->istimer++; } } } else { } else { Loading Loading
sound/pci/rme9652/hdsp.c +5 −9 Original line number Original line Diff line number Diff line Loading @@ -1428,10 +1428,8 @@ static void snd_hdsp_midi_output_timer(unsigned long data) leaving istimer wherever it was set before. leaving istimer wherever it was set before. */ */ if (hmidi->istimer) { if (hmidi->istimer) hmidi->timer.expires = 1 + jiffies; mod_timer(&hmidi->timer, 1 + jiffies); add_timer(&hmidi->timer); } spin_unlock_irqrestore (&hmidi->lock, flags); spin_unlock_irqrestore (&hmidi->lock, flags); } } Loading @@ -1445,11 +1443,9 @@ static void snd_hdsp_midi_output_trigger(struct snd_rawmidi_substream *substream spin_lock_irqsave (&hmidi->lock, flags); spin_lock_irqsave (&hmidi->lock, flags); if (up) { if (up) { if (!hmidi->istimer) { if (!hmidi->istimer) { init_timer(&hmidi->timer); setup_timer(&hmidi->timer, snd_hdsp_midi_output_timer, hmidi->timer.function = snd_hdsp_midi_output_timer; (unsigned long) hmidi); hmidi->timer.data = (unsigned long) hmidi; mod_timer(&hmidi->timer, 1 + jiffies); hmidi->timer.expires = 1 + jiffies; add_timer(&hmidi->timer); hmidi->istimer++; hmidi->istimer++; } } } else { } else { Loading