kernel_optimize_test/sound/usb
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
..
6fire ALSA: usb6fire: prevent driver panic state when stopping 2012-12-07 15:03:34 +01:00
caiaq ALSA: snd-usb-caiaq: remove __dev* attributes 2012-12-07 07:35:11 +01:00
misc
usx2y
card.c
card.h ALSA: usb-audio: add channel map support 2012-11-26 16:24:02 +01:00
clock.c
clock.h
debug.h
endpoint.c ALSA: usb-audio: use sender stride for implicit feedback 2012-11-29 08:42:54 +01:00
endpoint.h
format.c
format.h
helper.c
helper.h
Kconfig
Makefile
midi.c ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk 2013-01-04 09:53:17 +01:00
midi.h
mixer_maps.c
mixer_quirks.c ALSA: usb-audio: Make ebox44_table static 2013-01-10 10:22:25 +01:00
mixer_quirks.h
mixer.c ALSA: usb - Don't create "Speaker" mixer controls on headphones and headsets 2012-11-29 13:59:47 +01:00
mixer.h ALSA: usb-audio: add control index offset 2012-11-29 08:43:12 +01:00
pcm.c ALSA: usb-audio: Fix NULL dereference by access to non-existing substream 2013-01-11 11:12:17 +01:00
pcm.h
power.h
proc.c
proc.h
quirks-table.h ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk 2013-01-04 09:53:17 +01:00
quirks.c ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk 2013-01-04 09:53:17 +01:00
quirks.h
stream.c ALSA: usb-audio: add channel map support 2012-11-26 16:24:02 +01:00
stream.h
usbaudio.h ALSA: usb-audio: Fix kernel panic of Digidesign Mbox2 quirk 2013-01-04 09:53:17 +01:00