]> err.no Git - linux-2.6/commit
[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)
commit2a2a5dddece676acbe3775e5ca9961f325717022
treec5f15278d3c5c0ff67b483f7de34a5f01e3d1d19
parent7fbe3ca571e4b0795b729658e3d76824be54cb18
[ALSA] usbaudio - Fix kobject_add() error at reconnection

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>
sound/usb/usbaudio.c