diff options
Diffstat (limited to 'sound/usb/mixer.c')
-rw-r--r-- | sound/usb/mixer.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index bb56f5353fe0..3d70245ab442 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c | |||
@@ -770,6 +770,26 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval, | |||
770 | struct snd_kcontrol *kctl) | 770 | struct snd_kcontrol *kctl) |
771 | { | 771 | { |
772 | switch (cval->mixer->chip->usb_id) { | 772 | switch (cval->mixer->chip->usb_id) { |
773 | case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */ | ||
774 | case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */ | ||
775 | if (strcmp(kctl->id.name, "Effect Duration") == 0) { | ||
776 | snd_printk(KERN_INFO | ||
777 | "usb-audio: set quirk for FTU Effect Duration\n"); | ||
778 | cval->min = 0x0000; | ||
779 | cval->max = 0x7f00; | ||
780 | cval->res = 0x0100; | ||
781 | break; | ||
782 | } | ||
783 | if (strcmp(kctl->id.name, "Effect Volume") == 0 || | ||
784 | strcmp(kctl->id.name, "Effect Feedback Volume") == 0) { | ||
785 | snd_printk(KERN_INFO | ||
786 | "usb-audio: set quirks for FTU Effect Feedback/Volume\n"); | ||
787 | cval->min = 0x00; | ||
788 | cval->max = 0x7f; | ||
789 | break; | ||
790 | } | ||
791 | break; | ||
792 | |||
773 | case USB_ID(0x0471, 0x0101): | 793 | case USB_ID(0x0471, 0x0101): |
774 | case USB_ID(0x0471, 0x0104): | 794 | case USB_ID(0x0471, 0x0104): |
775 | case USB_ID(0x0471, 0x0105): | 795 | case USB_ID(0x0471, 0x0105): |