]> git.karo-electronics.de Git - karo-tx-linux.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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:23:46 +0000 (03:23 +0000)
commit 7da58046482fceb17c4a0d4afefd9507ec56de7f upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/usb/quirks-table.h

index 32d2a21f2e3b5a401948d24b81c945e239e8fa4e..4e251483f4310c9d0a0a932445eeb4b4e4080e08 100644 (file)
@@ -1624,7 +1624,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,