android_kernel_google_msm/sound
Takashi Iwai 8a70ddb052 ALSA: usb-audio: Fix autopm error during probing
commit 60af3d037e upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-07 19:51:55 -07:00
..
aoa
arm ALSA: pxa27x: fix ac97 warm reset 2013-01-17 08:50:55 -08:00
atmel
core vm: convert snd_pcm_lib_mmap_iomem() to vm_iomap_memory() helper 2013-04-25 21:19:56 -07:00
drivers ALSA: aloop - add locking to timer access 2012-10-13 05:38:51 +09:00
firewire
i2c
isa
mips
oss
parisc
pci ALSA: hda - fix typo in proc output 2013-04-12 09:38:44 -07:00
pcmcia
ppc
sh
soc ASoC: wm8903: Fix the bypass to HP/LINEOUT when no DAC or ADC is running 2013-04-16 21:27:26 -07:00
sparc
spi
synth
usb ALSA: usb-audio: Fix autopm error during probing 2013-05-07 19:51:55 -07:00
ac97_bus.c
Kconfig
last.c ALSA: workaround: change the timing of alsa_sound_last_init() 2012-04-19 13:51:54 +02:00
Makefile
sound_core.c
sound_firmware.c