linux/sound/usb/line6
Fabián Inostroza 7ecb46e9ee ALSA: line6: Use correct endpoint type for midi output
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-04-12 08:42:07 +02:00
..
capture.c ALSA: line6: make snd_pcm_ops const 2017-10-02 14:33:23 +02:00
capture.h ALSA: line6: make snd_pcm_ops const 2017-10-02 14:33:23 +02:00
driver.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
driver.h ALSA: usb-audio: Convert timers to use timer_setup() 2017-10-17 10:52:22 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
midi.c ALSA: line6: Use correct endpoint type for midi output 2018-04-12 08:42:07 +02:00
midi.h
midibuf.c
midibuf.h
pcm.c
pcm.h
playback.c ALSA: line6: make snd_pcm_ops const 2017-10-02 14:33:23 +02:00
playback.h ALSA: line6: make snd_pcm_ops const 2017-10-02 14:33:23 +02:00
pod.c ALSA: usb-audio: Convert timers to use timer_setup() 2017-10-17 10:52:22 +02:00
podhd.c ALSA: usb-audio: Convert timers to use timer_setup() 2017-10-17 10:52:22 +02:00
toneport.c ALSA: usb-audio: Convert timers to use timer_setup() 2017-10-17 10:52:22 +02:00
variax.c ALSA: usb-audio: Convert timers to use timer_setup() 2017-10-17 10:52:22 +02:00