Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.00 KB | None | 0 0
  1. diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
  2. index 921a86f..e705203 100644
  3. --- a/sound/usb/quirks-table.h
  4. +++ b/sound/usb/quirks-table.h
  5. @@ -1420,6 +1420,37 @@ YAMAHA_DEVICE(0x7010, "UB99"),
  6.     }
  7.  },
  8.  {
  9. +   /* Roland E-80 */
  10. +   USB_DEVICE(0x0582, 0x00b9),
  11. +   .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
  12. +       .vendor_name = "Roland",
  13. +       .product_name = "E-80",
  14. +       .ifnum = QUIRK_ANY_INTERFACE,
  15. +       .type = QUIRK_COMPOSITE,
  16. +       .data = (const struct snd_usb_audio_quirk[]) {
  17. +           {
  18. +               .ifnum = 0,
  19. +               .type = QUIRK_AUDIO_STANDARD_INTERFACE
  20. +           },
  21. +           {
  22. +               .ifnum = 1,
  23. +               .type = QUIRK_AUDIO_STANDARD_INTERFACE
  24. +           },
  25. +           {
  26. +               .ifnum = 2,
  27. +               .type = QUIRK_MIDI_FIXED_ENDPOINT,
  28. +               .data = & (const struct snd_usb_midi_endpoint_info) {
  29. +                   .out_cables = 0x0001,
  30. +                   .in_cables  = 0x0001
  31. +               }
  32. +           },
  33. +           {
  34. +               .ifnum = -1
  35. +           }
  36. +       }
  37. +   }
  38. +},
  39. +{
  40.     /* Roland SonicCell */
  41.     USB_DEVICE(0x0582, 0x00c2),
  42.     .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement