]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Flatten probe and disconnect functions
authorTakashi Iwai <tiwai@suse.de>
Fri, 31 Oct 2014 10:00:23 +0000 (11:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2014 14:09:08 +0000 (15:09 +0100)
commit02dd322f7c34804c4220066161bb26663a9078d9
treebc7a5211efe309850d6568c0dd19a689ec9dafdb
parent59f1910d96aca84b743847af0acc036b71a0eedc
ALSA: usb-audio: Flatten probe and disconnect functions

The usb-audio probe and disconnect functions have been split just for
adapting the (new!) API at 2.5 kernel time.  We left them until now,
partly because we wanted to build with the pretty old kernels in the
external alsa-driver tree.  But the support of such old kernels has
been longly stopped, so it's good time to clean up this mess.

One good point by this cleanup is that now the probe function returns
a proper error code instead of only -EIO.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c