From: Damien Zammit Date: Fri, 4 Jan 2013 08:51:44 +0000 (+0100) Subject: ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk X-Git-Tag: v3.8-rc3~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b435e81b7228af68b5d3bef277fce10100b369;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed