diff options
author | Jerry Snitselaar <dev@snitselaar.org> | 2014-04-24 00:31:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-15 13:54:29 -0700 |
commit | f3c5261e04b9ace521e9392f7b6a28f62b28b9fc (patch) | |
tree | 6341b45aa0438812960c64c0b870d49df6464fd1 /drivers/staging/line6/midi.c | |
parent | 62ca89a1d014623b1a59aa60b6055d022f1f8836 (diff) |
staging/line6: blank line after declaration cleanup
Fix coding style warnings reported by checkpath.
Signed-off-by: Jerry Snitselaar <dev@snitselaar.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/midi.c')
-rw-r--r-- | drivers/staging/line6/midi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/line6/midi.c b/drivers/staging/line6/midi.c index 02345fb06e3d..1ac343b649c1 100644 --- a/drivers/staging/line6/midi.c +++ b/drivers/staging/line6/midi.c @@ -183,6 +183,7 @@ static void line6_midi_output_drain(struct snd_rawmidi_substream *substream) struct usb_line6 *line6 = line6_rawmidi_substream_midi(substream)->line6; struct snd_line6_midi *midi = line6->line6midi; + wait_event_interruptible(midi->send_wait, midi->num_active_send_urbs == 0); } @@ -260,6 +261,7 @@ static int snd_line6_new_midi(struct snd_line6_midi *line6midi) static int snd_line6_midi_free(struct snd_device *device) { struct snd_line6_midi *line6midi = device->device_data; + line6_midibuf_destroy(&line6midi->midibuf_in); line6_midibuf_destroy(&line6midi->midibuf_out); return 0; |