[ALSA] usbaudio - Fix kobject_add() error at reconnection
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jan 2007 16:42:22 +0000 (17:42 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 9 Jan 2007 08:14:15 +0000 (09:14 +0100)
Fixed the error from kobject_add() at reconnection the usb audio device.
This happens when an app keeps opening a device while the device is
replugged, due to the confliction of the internal bookkept index and
the really empty slot.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

No differences found