From: Tarek Soliman Date: Mon, 4 Apr 2011 14:23:53 +0000 (-0500) Subject: ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable X-Git-Tag: v3.0~1049^2^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49c039f071d36586ba32da75996ef339e4ab8405;p=platform%2Fkernel%2Flinux-amlogic.git ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable There are many USB MIDI cables out there that have buggy firmware that reports it can do more than 4 bytes in a packet when they can only properly handle 4 This patch adds the ID of yet another one of those cables Signed-off-by: Tarek Soliman Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/midi.c b/sound/usb/midi.c index b4b39c0..f928910 100644 --- a/sound/usb/midi.c +++ b/sound/usb/midi.c @@ -1301,6 +1301,7 @@ static int snd_usbmidi_out_endpoint_create(struct snd_usb_midi* umidi, case USB_ID(0x15ca, 0x0101): /* Textech USB Midi Cable */ case USB_ID(0x15ca, 0x1806): /* Textech USB Midi Cable */ case USB_ID(0x1a86, 0x752d): /* QinHeng CH345 "USB2.0-MIDI" */ + case USB_ID(0xfc08, 0x0101): /* Unknown vendor Cable */ ep->max_transfer = 4; break; /*