linux/sound
Jorge Sanjuan 3763f61867 ALSA: usb: Only get AudioControl header for UAC1 class.
The control header needs to be read from buffer at this point only
in the case of UAC1 protocol. Move it inside the switch case as other
protocols such as the Basic Audio Device spec will have an empty buffer
that is latter filled as inferred.

Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
[Ruslan: updated with recently added sanity checks]
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-05-04 09:39:27 +02:00
..
ac97 ALSA: ac97: kconfig: Remove select of undefined symbol AC97 2018-02-12 08:16:39 +01:00
aoa
arm
atmel
core Merge branch 'for-linus' into for-next 2018-04-25 16:44:36 +02:00
drivers ALSA: opl3: Hardening for potential Spectre v1 2018-04-25 10:37:47 +02:00
firewire ALSA: dice: remove local frag of force_two_pcms 2018-05-02 16:02:08 +02:00
hda ALSA: hda - Use a macro for snd_array iteration loops 2018-04-24 13:41:53 +02:00
i2c
isa ALSA: sc6000: fix spelling mistake: "iomaped" -> "iomapped" 2018-05-02 16:01:15 +02:00
mips ALSA: sgio2audio: Improve a size determination in snd_sgio2audio_create() 2017-11-29 09:29:31 +01:00
oss vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
parisc
pci ALSA: hda/ca0132: fix build failure when a local macro is defined 2018-05-02 15:57:58 +02:00
pcmcia
ppc
sh
soc ASoC: Fixes for v4.17 2018-04-25 12:22:20 +02:00
sparc ALSA: sparc: Use GFP_KERNEL for non-atomic allocation 2018-05-03 10:53:39 +02:00
spi
synth
usb ALSA: usb: Only get AudioControl header for UAC1 class. 2018-05-04 09:39:27 +02:00
x86 ALSA: x86: Fix potential crash at error path 2018-02-28 08:46:00 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c sound: Remove leftover msnd init declarations 2018-01-11 17:10:34 +01:00