linux-stable/sound/usb/line6
Fabián Inostroza 43b3e7915e 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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-24 09:36:36 +02:00
..
capture.c ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture 2016-09-19 23:00:37 +02:00
capture.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
driver.c ALSA: line6: Add a sanity check for invalid EPs 2018-02-25 11:07:48 +01:00
driver.h ALSA: line6: remove unnecessary initialization to PODHD500X 2017-06-20 07:51:22 +02:00
Kconfig ALSA: line6: snd-usb-line6 depends on CONFIG_SND_HWDEP 2016-09-21 14:36:22 +02:00
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-24 09:36:36 +02:00
midi.h ALSA: line6: Tidy up and typo fixes in comments 2015-01-28 20:54:43 +01:00
midibuf.c ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
midibuf.h ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
pcm.c ALSA: usb-line6: constify snd_kcontrol_new strucutre array 2017-04-14 08:57:56 +02:00
pcm.h ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture 2016-09-19 23:00:37 +02:00
playback.c ALSA: line6: Allow different channel numbers for in/out 2016-09-19 23:00:16 +02:00
playback.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
pod.c ALSA: line6: constify snd_kcontrol_new structures 2017-04-12 15:35:16 +02:00
podhd.c ALSA: line6: Fix NULL dereference at podhd_disconnect() 2017-10-09 16:17:09 +02:00
toneport.c ALSA: line6: constify snd_kcontrol_new structures 2017-04-12 15:35:16 +02:00
variax.c ALSA: line6: Distinguish device init (ctrl EP) and MIDI data transfer (int EP) 2016-09-19 23:00:47 +02:00