android_kernel_google_msm/sound/usb
David Henningsson ee415da553 ALSA: usb - fix race in creation of M-Audio Fast track pro driver
commit b98ae2729d upstream.

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>
Cc: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-21 11:45:24 -08:00
..
6fire ALSA: snd-usb-6fire: add analog input volume control 2012-02-22 15:51:26 +01:00
caiaq ALSA: snd-usb-caiaq: initialize card pointer 2012-12-03 11:46:36 -08:00
misc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound 2012-01-12 08:00:30 -08:00
usx2y ALSA: usx2y: Fix typo in usbusx2yaudio.c and usx2yhwdeppcm.c 2012-02-15 14:56:11 +01:00
card.c ALSA: usb-audio: Fix mutex deadlock at disconnection 2012-11-17 13:16:36 -08:00
card.h ALSA: usb-audio: Fix races at disconnection 2012-11-17 13:16:12 -08:00
clock.c ALSA: snd-usb: fix clock source validity index 2012-08-09 08:31:51 -07:00
clock.h
debug.h
endpoint.c ALSA: usb-audio: Fix races at disconnection 2012-11-17 13:16:12 -08:00
endpoint.h
format.c ALSA: usb-audio: avoid integer overflow in create_fixed_stream_quirk() 2012-02-15 14:58:15 +01:00
format.h
helper.c
helper.h
Kconfig ALSA: snd-usb-6fire: Select missing SND_VMASTER option in Kconfig 2012-02-25 11:07:19 +01:00
Makefile
midi.c ALSA: usb-audio: Fix missing autopm for MIDI input 2013-01-11 09:06:49 -08:00
midi.h
mixer.c ALSA: usb-audio: Use rwsem for disconnect protection 2012-11-17 13:16:12 -08:00
mixer.h
mixer_maps.c
mixer_quirks.c ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c 2012-11-17 13:16:13 -08:00
mixer_quirks.h
pcm.c ALSA: usb-audio: Use rwsem for disconnect protection 2012-11-17 13:16:12 -08:00
pcm.h
power.h
proc.c ALSA: usb-audio: Fix races at disconnection 2012-11-17 13:16:12 -08:00
proc.h
quirks-table.h ALSA: USB: Support for (original) Xbox Communicator 2012-10-13 05:38:52 +09:00
quirks.c ALSA: usb - fix race in creation of M-Audio Fast track pro driver 2013-01-21 11:45:24 -08:00
quirks.h
stream.c
stream.h
usbaudio.h ALSA: usb-audio: Use rwsem for disconnect protection 2012-11-17 13:16:12 -08:00