kernel_optimize_test/sound
Takashi Iwai 60af3d037e ALSA: usb-audio: Fix autopm error during probing
We've got strange errors in get_ctl_value() in mixer.c during
probing, e.g. on Hercules RMX2 DJ Controller:

  ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0xa00, type = 4
  ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0xa00, type = 4
  ....

It turned out that the culprit is autopm: snd_usb_autoresume() returns
-ENODEV when called during card->probing = 1.

Since the call itself during card->probing = 1 is valid, let's fix the
return value of snd_usb_autoresume() as success.

Reported-and-tested-by: Daniel Schürmann <daschuer@mixxx.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-04-25 07:46:51 +02:00
..
aoa
arm
atmel
core ALSA: compress: Use kzalloc() for ioctls writing back data 2013-04-22 10:40:29 +02:00
drivers ALSA: sound kconfig typo 2013-04-24 14:02:36 +02:00
firewire
i2c
isa
mips
oss
parisc
pci ALSA: emu10k1: Fix dock firmware loading 2013-04-24 08:11:49 +02:00
pcmcia
ppc
sh
soc ASoC: soc-compress: Deduce stream direction 2013-04-21 09:53:43 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Fix autopm error during probing 2013-04-25 07:46:51 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c