[PATCH - Basic mixer support for Fast Track Ultra 5/6]Try to create a mixer for quirked devices, too

Felix Homann linuxaudio at showlabor.de
Wed May 18 10:40:22 CEST 2011


Signed-off-by: Felix Homann <linuxaudio at showlabor.de>

diff --git a/sound/usb/card.c b/sound/usb/card.c
index 40722f8..52ad7b0 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -493,6 +493,11 @@ static void *snd_usb_audio_probe(struct usb_device *dev,
 	 */
 	if (!chip->ctrl_intf)
 		chip->ctrl_intf = alts;
+	
+	/* try to create a mixer for quirked devices, too */
+	if (snd_usb_create_mixer(chip, ifnum, ignore_ctl_error) < 0) {
+		goto __error;
+	}
 
 	if (err > 0) {
 		/* create normal USB audio interfaces */
-- 
1.7.4.1


--------------000101040900080309070209--


More information about the Alsa-devel mailing list