---------------------
PatchSet 3166 
Date: 2005/05/10 14:51:40
Author: cladisch
Branch: HEAD
Tag: (none) 
Log:
Summary: usb-audio - bind to control interface instead of usb_device

Bind the device files to the (first) audio control interface instead of
the entire USB device.

Members: 
	usb/usbaudio.c:1.129->1.130 

Index: /sound/usb/usbaudio.c
diff -u /sound/usb/usbaudio.c.old /sound/usb/usbaudio.c
--- /sound/usb/usbaudio.c.old	Mon May  9 01:20:31 2005
+++ /sound/usb/usbaudio.c	Tue May 10 06:51:40 2005
@@ -3129,8 +3129,6 @@
 
 	snd_usb_audio_create_proc(chip);
 
-	snd_card_set_dev(card, &dev->dev);
-
 	*rchip = chip;
 	return 0;
 }
@@ -3212,6 +3210,7 @@
 				if (snd_usb_audio_create(dev, i, quirk, &chip) < 0) {
 					goto __error;
 				}
+				snd_card_set_dev(chip->card, &intf->dev);
 				break;
 			}
 		if (! chip) {