kernel_optimize_test/sound
Takashi Iwai 31be5425d7 ALSA: usb-audio: Fix NULL dereference by access to non-existing substream
The commit [0d9741c0: ALSA: usb-audio: sync ep init fix for
audioformat mismatch] introduced the correction of parameters to be
set for sync EP.  But since the new code assumes that the sync EP is
always paired with the data EP of another direction, it triggers Oops
when a device only with a single direction is used.

This patch adds a proper check of sync EP type and the presence of the
paired substream for avoiding the crash.

Reported-and-tested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-01-11 11:12:17 +01:00
..
aoa
arm ALSA: pxa27x: fix ac97 warm reset 2013-01-08 11:27:35 +00:00
atmel
core Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-12-13 12:00:02 -08:00
drivers
firewire
i2c
isa
mips
oss sound: oss/pas2: Fix possible access out of array 2013-01-04 10:38:27 +01:00
parisc
pci ALSA: hda - Add support of new codec ALC284 2013-01-10 10:27:46 +01:00
pcmcia
ppc
sh
soc Merge remote-tracking branch 'asoc/fix/wm5100' into tmp 2013-01-10 12:22:30 +00:00
sparc
spi
synth
usb ALSA: usb-audio: Fix NULL dereference by access to non-existing substream 2013-01-11 11:12:17 +01:00
ac97_bus.c
Kconfig sound: remove reference to feature-removal-schedule.txt 2012-12-17 17:15:12 -08:00
last.c
Makefile
sound_core.c sound: remove reference to feature-removal-schedule.txt 2012-12-17 17:15:12 -08:00
sound_firmware.c