]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: Don't forget to call driver's destructor at error path
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 08:09:27 +0000 (09:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:19:55 +0000 (07:19 +0100)
commit76dc73f5debd98366189f98cdfab1995b867a246
treec7b539fd888746b3414b869e96fadb8e879f4ce6
parent2dc5e4b003c6e9139ee26d21966597f46a76c79d
ALSA: line6: Don't forget to call driver's destructor at error path

Currently disconnect callback is used as a driver's destructor, and
this has to be called not only at the disconnection time but also at
the error paths during probe.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c