ALSA: usb-audio: Add TLV to M-Audio Fast Track Ultra controls
authorFelix Homann <linuxaudio@showlabor.de>
Mon, 23 Apr 2012 18:24:25 +0000 (20:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Apr 2012 06:01:46 +0000 (08:01 +0200)
This adds db gain information to M-Audio Fast Track Ultra (8R) devices.

Signed-off-by: Felix Homann <linuxaudio@showlabor.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c

index 1c3da65f1af1663373da3d6068d5f2283855aaf5..045a0d9ff8a211575bb0ae34149386b91994757b 100644 (file)
@@ -594,7 +594,7 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
                                in  + 1, out + 1);
                        err = snd_create_std_mono_ctl(mixer, id, control,
                                                        cmask, val_type, name,
-                                                       NULL);
+                                                       &snd_usb_mixer_vol_tlv);
                        if (err < 0)
                                return err;
                }
@@ -605,7 +605,7 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
                                in - 7, out + 1);
                        err = snd_create_std_mono_ctl(mixer, id, control,
                                                        cmask, val_type, name,
-                                                       NULL);
+                                                       &snd_usb_mixer_vol_tlv);
                        if (err < 0)
                                return err;
                }