]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb - fix race in creation of M-Audio Fast track pro driver
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 4 Jan 2013 16:02:18 +0000 (17:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jan 2013 09:03:03 +0000 (10:03 +0100)
commitf69619d6ebbb2fee0f43ed508cfa3ed619a1d4ee
tree6467e4a5870af8b04ac4e2b38a569ba2f4e689e9
parent4952a6e88b5d1c7289b2b07ab9f88c13971204d6
ALSA: usb - fix race in creation of M-Audio Fast track pro driver

A patch in the 3.2 kernel caused regression with hotplugging the
M-Audio Fast track pro, or sound after suspend. I don't have the
device so I haven't done a full analysis, but it seems userspace
(both udev and pulseaudio) got confused when a card was created,
immediately destroyed, and then created again.

However, at least one person in the bug report (martin djfun)
reports that this patch resolves the issue for him. It also leaves
a message in the log:
"snd-usb-audio: probe of 1-1.1:1.1 failed with error -5" which is
a bit misleading. It is better than non-working audio, but maybe
there's a more elegant solution?

BugLink: https://bugs.launchpad.net/bugs/1095315
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c