linux/drivers/staging/line6
Fabián Inostroza b746f21c0e ALSA: line6: Use correct endpoint type for midi output
commit 7ecb46e9ee upstream.

Sending MIDI messages to a PODxt through the USB connection shows
"usb_submit_urb failed" in dmesg and the message is not received by
the POD.

The error is caused because in the funcion send_midi_async() in midi.c
there is a call to usb_sndbulkpipe() for endpoint 3 OUT, but the PODxt
USB descriptor shows that this endpoint it's an interrupt endpoint.

Patch tested with PODxt only.

[ The bug has been present from the very beginning in the staging
  driver time, but Fixes below points to the commit moving to sound/
  directory so that the fix can be cleanly applied -- tiwai ]

Fixes: 61864d844c ("ALSA: move line6 usb driver into sound/usb")
Signed-off-by: Fabián Inostroza <fabianinostroza@udec.cl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.16: adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-10-21 08:45:23 +01:00
..
audio.c staging/line6: Convert to snd_card_new() with a device pointer 2014-02-14 08:14:10 +01:00
audio.h Staging: line6: another upstream sync 2010-08-31 15:28:16 -07:00
capture.c staging/line6: blank line after declaration cleanup 2014-05-15 13:54:29 -07:00
capture.h staging: line6: separate handling of buffer allocation and stream startup 2012-02-09 09:14:35 -08:00
driver.c staging: line6: Add blank lines after declarations 2014-04-16 20:29:17 -07:00
driver.h Staging: line6: Fix unnecessary space after function pointer in driver.h 2014-02-27 15:15:58 -08:00
Kconfig staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
Makefile staging: line6: drop unused dumprequest code 2012-11-26 16:13:51 -08:00
midi.c ALSA: line6: Use correct endpoint type for midi output 2018-10-21 08:45:23 +01:00
midi.h staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midibuf.c staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midibuf.h staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
pcm.c staging/line6: Fix kzalloc coding style issue 2014-04-16 20:30:04 -07:00
pcm.h staging: line6: drop trailing whitespace in pcm.h 2012-11-13 13:17:40 -08:00
playback.c staging/line6: blank line after declaration cleanup 2014-05-15 13:54:29 -07:00
playback.h staging: line6: separate handling of buffer allocation and stream startup 2012-02-09 09:14:35 -08:00
pod.c staging/line6: blank line after declaration cleanup 2014-05-15 13:54:29 -07:00
pod.h staging: line6: drop dump requests from pod startup 2012-11-26 16:13:51 -08:00
podhd.c staging: line6: eliminate useless NULL checks 2011-12-09 19:26:09 -08:00
podhd.h staging: line6: add Pod HD300 support 2011-11-26 16:14:11 -08:00
revision.h staging: line6: fixed ALSA/PCM interaction 2011-12-09 19:26:09 -08:00
toneport.c staging/line6: blank line after declaration cleanup 2014-05-15 13:54:29 -07:00
toneport.h Staging: line6: another upstream sync 2010-08-31 15:28:16 -07:00
usbdefs.h staging: line6: long line fixes 2014-03-17 12:08:42 -07:00
variax.c staging/line6: blank line after declaration cleanup 2014-05-15 13:54:29 -07:00
variax.h staging: line6: drop dump requests from variax startup 2012-11-26 16:13:51 -08:00