linux/sound
Greg Thelen 9857edfd4d ALSA: hda: check make_exec_verb() return value
If given a -1 cmd parameter then make_exec_verb() returns -1 without
setting the res output value.

Prior to this change snd_hda_codec_read() assumed that make_exec_verb()
unconditionally set res regardless of the cmd value.

This change explicitly checks the make_exec_verb() return value before
consuming the potentially unset res value.

Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-06-13 17:52:06 +02:00
..
aoa
arm
atmel
core ALSA: Use %pV for snd_printk() 2011-06-10 15:35:20 +02:00
drivers
firewire Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2011-05-23 08:52:38 -07:00
i2c ALSA: tea575x: use better card and bus names 2011-05-13 19:43:24 +02:00
isa
mips
oss SOUND: OSS: Remove Au1550 driver. 2011-05-20 11:33:39 +02:00
parisc
pci ALSA: hda: check make_exec_verb() return value 2011-06-13 17:52:06 +02:00
pcmcia pcmcia: Make struct pcmcia_device_id const, sound drivers edition 2011-05-11 10:48:57 +02:00
ppc Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
sh
soc Merge branch 'fix/asoc' into for-linus 2011-06-10 17:49:34 +02:00
sparc
spi
synth
usb ALSA: usb - turn off de-emphasis in s/pdif for cm6206 2011-06-03 18:22:56 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c