]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
ALSA: usb-audio: fix Roland A-PRO support
authorClemens Ladisch <clemens@ladisch.de>
Thu, 31 Jan 2013 20:14:33 +0000 (21:14 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Thu, 31 Jan 2013 20:21:59 +0000 (21:21 +0100)
The quirk for the Roland/Cakewalk A-PRO keyboards accidentally used the
wrong interface number, which prevented the driver from attaching to the
device.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: 2.6.37+ <stable@vger.kernel.org>
sound/usb/quirks-table.h

index 64d25a7a4d599538398e5a14d37d11a154ec65fd..820580a6dfc34b69a00f81180040a51d65f52d21 100644 (file)
@@ -1750,7 +1750,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
        .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
                /* .vendor_name = "Roland", */
                /* .product_name = "A-PRO", */
-               .ifnum = 1,
+               .ifnum = 0,
                .type = QUIRK_MIDI_FIXED_ENDPOINT,
                .data = & (const struct snd_usb_midi_endpoint_info) {
                        .out_cables = 0x0003,