linux/sound/usb
Thomas Pfaff 362e4e49ab ALSA: usb-audio - clear chip->probing on error exit
The Terratec Aureon 5.1 USB sound card support is broken since kernel
2.6.39.
2.6.39 introduced power management support for USB sound cards that added
a probing flag in struct snd_usb_audio.

During the probe of the card it gives following error message :

usb 7-2: new full speed USB device number 2 using uhci_hcd
cannot find UAC_HEADER
snd-usb-audio: probe of 7-2:1.3 failed with error -5
input: USB Audio as
/devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.3/input/input6
generic-usb 0003:0CCD:0028.0001: input: USB HID v1.00 Device [USB Audio]
on usb-0000:00:1d.1-2/input3

I can not comment about that "cannot find UAC_HEADER" error, but until
2.6.38 the card worked anyway.
With 2.6.39 chip->probing remains 1 on error exit, and any later ioctl
stops in snd_usb_autoresume with -ENODEV.

Signed-off-by: Thomas Pfaff <tpfaff@gmx.net>
Cc: <stable@kernel.org> [2.6.39+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-09-23 15:26:06 +02:00
..
6fire ALSA: 6fire - Fix signedness bug 2011-06-16 21:31:33 +02:00
caiaq ALSA: snd_usb_caiaq: track submitted output urbs 2011-08-14 18:10:43 +02:00
misc ALSA: firewire-speakers, oxygen, ua101: allow > 10 s periods 2011-06-17 11:36:30 +02:00
usx2y Fix common misspellings 2011-03-31 11:26:23 -03:00
card.c ALSA: usb-audio - clear chip->probing on error exit 2011-09-23 15:26:06 +02:00
card.h ALSA: usb-audio: automatically detect feedback format 2010-10-27 09:17:41 +02:00
clock.c ALSA: usb-audio: assume valid clock 2011-05-18 11:44:44 +02:00
clock.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
debug.h ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set 2011-05-18 11:44:35 +02:00
endpoint.c ALSA: snd-usb: Accept UAC2 FORMAT_TYPE descriptors with bLength > 6 2011-08-04 16:23:47 +02:00
endpoint.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
format.c Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
format.h ALSA: usb-audio: parse more format descriptors with structs 2010-05-27 09:48:31 +02:00
helper.c ALSA: usb: USB3 SuperSpeed sound support 2010-08-14 10:30:08 +02:00
helper.h ALSA: usb-audio: fix control messages for USB_RECIP_INTERFACE 2010-06-11 18:05:38 +02:00
Kconfig ALSA: 6fire: use the kernel's built-in bit reverse table 2011-04-26 12:26:12 +02:00
Makefile ALSA: usb/6fire - Driver for TerraTec DMX 6Fire USB 2011-01-24 18:45:30 +01:00
midi.c ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable 2011-04-06 08:05:30 +02:00
midi.h ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
mixer_maps.c ALSA: usb-audio: unify constants from specification 2010-05-31 18:17:22 +02:00
mixer_quirks.c ALSA: usb-audio: more control quirks for M-Audio FastTrack devices 2011-05-25 09:37:08 +02:00
mixer_quirks.h ALSA: usb-mixer: factor out quirks 2010-03-12 12:20:26 +01:00
mixer.c ALSA: usb-audio - Fix missing mixer dB information 2011-08-19 07:55:10 +02:00
mixer.h ALSA: snd-usb: operate on given mixer interface only 2011-08-04 16:24:10 +02:00
pcm.c ALSA: usbaudio: implement USB autosuspend 2011-03-11 14:59:29 +01:00
pcm.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
power.h ALSA: usbaudio: implement USB autosuspend 2011-03-11 14:59:29 +01:00
proc.c ALSA: usb-audio: automatically detect feedback format 2010-10-27 09:17:41 +02:00
proc.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
quirks-table.h ALSA: usb-audio - Add quirk for BOSS Micro BR-80 2011-08-10 08:18:57 +02:00
quirks.c ALSA: snd-usb: Fix uninitialized variable usage 2011-08-06 10:22:58 +02:00
quirks.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
urb.c ALSA: usb-audio: automatically detect feedback format 2010-10-27 09:17:41 +02:00
urb.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
usbaudio.h ALSA: usb-audio: add new quirk type QUIRK_AUDIO_STANDARD_MIXER 2011-05-25 09:36:59 +02:00