aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2014-08-09 11:19:41 -0400
committerTakashi Iwai <tiwai@suse.de>2014-08-10 07:28:04 -0400
commit53da5ebfef66ea6e478ad9c6add3781472b79475 (patch)
tree8d7ac35d96a4ed53a5b96c454b5fe6bde4783308 /sound
parent875f0dd79987a63f01c07a9994dbe2c457992e41 (diff)
ALSA: usb-audio: fix BOSS ME-25 MIDI regression
The BOSS ME-25 turns out not to have any useful descriptors in its MIDI interface, so its needs a quirk entry after all. Reported-and-tested-by: Kees van Veen <kees.vanveen@gmail.com> Fixes: 8e5ced83dd1c ("ALSA: usb-audio: remove superfluous Roland quirks") Cc: <stable@vger.kernel.org> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/quirks-table.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index f652b10ce905..223c47b33ba3 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -1581,6 +1581,35 @@ YAMAHA_DEVICE(0x7010, "UB99"),
1581 } 1581 }
1582}, 1582},
1583{ 1583{
1584 /* BOSS ME-25 */
1585 USB_DEVICE(0x0582, 0x0113),
1586 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1587 .ifnum = QUIRK_ANY_INTERFACE,
1588 .type = QUIRK_COMPOSITE,
1589 .data = (const struct snd_usb_audio_quirk[]) {
1590 {
1591 .ifnum = 0,
1592 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1593 },
1594 {
1595 .ifnum = 1,
1596 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1597 },
1598 {
1599 .ifnum = 2,
1600 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1601 .data = & (const struct snd_usb_midi_endpoint_info) {
1602 .out_cables = 0x0001,
1603 .in_cables = 0x0001
1604 }
1605 },
1606 {
1607 .ifnum = -1
1608 }
1609 }
1610 }
1611},
1612{
1584 /* only 44.1 kHz works at the moment */ 1613 /* only 44.1 kHz works at the moment */
1585 USB_DEVICE(0x0582, 0x0120), 1614 USB_DEVICE(0x0582, 0x0120),
1586 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { 1615 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {