android_kernel_oneplus_msm8998/sound/usb/line6
Fabián Inostroza 68fc6f74b5 ALSA: line6: Use correct endpoint type for midi output
commit 7ecb46e9ee9af18e304eb9e7d6804c59a408e846 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:32:10 +02:00
..
capture.c ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
capture.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
driver.c ALSA: line6: Fix leftover URB at error-path during probe 2017-10-18 09:20:42 +02:00
driver.h ALSA: line6: Improve line6_read/write_data() interfaces 2015-02-12 11:07:48 +01:00
Kconfig ALSA: line6/toneport: Implement LED controls via LED class 2015-01-28 07:20:08 +01:00
Makefile ALSA: line6: Reorganize card resource handling 2015-01-20 08:17:16 +01:00
midi.c ALSA: line6: Use correct endpoint type for midi output 2018-04-24 09:32:10 +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: line6: Give up on the lock while URBs are released. 2016-09-07 08:32:46 +02:00
pcm.h ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
playback.c ALSA: line6: Clamp values correctly 2015-03-05 13:03:28 +01:00
playback.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
pod.c ALSA: line6: Fix POD sysfs attributes segfault 2016-09-07 08:32:46 +02:00
podhd.c ALSA: line6: Pass driver name to line6_probe() 2015-02-08 09:07:07 +01:00
toneport.c ALSA: line6: toneport: Use explicit type for firmware version 2015-02-11 10:41:59 +01:00
variax.c ALSA: line6: Pass driver name to line6_probe() 2015-02-08 09:07:07 +01:00