ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk
authorDamien Zammit <damien@zamaudio.com>
Fri, 4 Jan 2013 08:51:44 +0000 (09:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Jan 2013 08:53:17 +0000 (09:53 +0100)
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>

No differences found