Message ID | 5f63f181-2b5a-911e-996c-6918e277a484@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c index 1c62dddedd40..4596d97b61eb 100644 --- a/drivers/hid/hid-prodikeys.c +++ b/drivers/hid/hid-prodikeys.c @@ -228,11 +228,11 @@ static void pcmidi_send_note(struct pcmidi_snd *pm, if (!pm->in_substream || !test_bit(pm->in_substream->number, &pm->in_triggered)) - goto drop_note; + goto unlock; snd_rawmidi_receive(pm->in_substream, buffer, 3); -drop_note: +unlock: spin_unlock_irqrestore(&pm->rawmidi_in_lock, flags); }