diff options
author | 2013-01-04 09:51:44 +0100 | |
---|---|---|
committer | 2013-01-04 09:53:17 +0100 | |
commit | b7b435e81b7228af68b5d3bef277fce10100b369 (patch) | |
tree | 07f7e0d1d4fea7403c39a4c3e3e5f7e1bea76f55 /sound/usb/quirks-table.h | |
parent | ALSA: usb-audio: Add support for Creative BT-D1 via usb sound quirks (diff) | |
download | linux-b7b435e81b7228af68b5d3bef277fce10100b369.tar.gz linux-b7b435e81b7228af68b5d3bef277fce10100b369.tar.bz2 linux-b7b435e81b7228af68b5d3bef277fce10100b369.zip |
ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk
This patch is based on 3.8-rc1. It fixes two things:
1) A kernel panic caused by incorrect allocation of a u8 variable
"bootresponse".
2) A noisy dmesg (urb status -32) caused by broken pipe to an
invalid midi endpoint.
It is also a little cleaner because there is no need for a new
QUIRK_MIDI type as suggested by kernel developers, since the device
follows exactly the MIDIMAN protocol.
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks-table.h')
-rw-r--r-- | sound/usb/quirks-table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 5388ca3a4ab0..78e845ec65da 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -3015,7 +3015,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), }, { .ifnum = 6, - .type = QUIRK_MIDI_MBOX2, + .type = QUIRK_MIDI_MIDIMAN, .data = &(const struct snd_usb_midi_endpoint_info) { .out_ep = 0x02, .out_cables = 0x0001, |