| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Jan. 24, 2013, 3:27 a.m. |
| Message ID | <1358998046-613-69-git-send-email-herton.krzesinski@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/215176/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 2781726..c46171a 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -387,11 +387,13 @@ static int snd_usb_fasttrackpro_boot_quirk(struct usb_device *dev) * rules */ err = usb_driver_set_configuration(dev, 2); - if (err < 0) { + if (err < 0) snd_printdd("error usb_driver_set_configuration: %d\n", err); - return -ENODEV; - } + /* Always return an error, so that we stop creating a device + that will just be destroyed and recreated with a new + configuration */ + return -ENODEV; } else snd_printk(KERN_INFO "usb-audio: Fast Track Pro config OK\n");