linux/sound
Clemens Ladisch 91d12c485b sound: rawmidi: fix opened substreams count
The substream_opened field is to count the number of opened substreams,
not the number of times that any substreams have been opened.

Furthermore, all substreams being opened does not imply that the next
open would fail, due to the possibility of O_APPEND.  With this wrong
check, opening a substream multiple times would succeed only if the
device had more unopened substreams.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-11-10 16:32:10 +01:00
..
aoa ALSA: Don't assume i2c device probing always succeeds 2009-10-01 07:46:33 +02:00
arm ALSA: aaci: ARM1176 aaci-pl041 AC97 register read timeout 2009-10-13 15:59:55 +02:00
atmel
core sound: rawmidi: fix opened substreams count 2009-11-10 16:32:10 +01:00
drivers ALSA: dummy - Fix descriptions of pcm_substreams parameter 2009-11-02 14:11:55 +01:00
i2c
isa Merge branch 'topic/cmi8330' into for-linus 2009-09-10 15:32:45 +02:00
mips ALSA: Fix invalid __exit in sound/mips/*.c 2009-10-02 11:06:16 +02:00
oss sound: Replace old style lock initializer 2009-11-07 09:44:52 +01:00
parisc ALSA: sound/parisc: Move dereference after NULL test 2009-10-30 12:01:38 +01:00
pci Merge branch 'fix/hda' into for-linus 2009-11-08 09:16:15 +01:00
pcmcia ALSA: pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (sound) 2009-11-02 11:41:41 +01:00
ppc powerpc: Minor cleanup to sound/ppc/Kconfig 2009-10-27 16:42:42 +11:00
sh ALSA: snd-aica: declare MODULE_FIRMWARE 2009-11-08 09:13:51 +01:00
soc ASoC: S3C64XX I2S: Enable audio-bus clock 2009-11-06 13:54:26 +00:00
sparc
spi
synth
usb ALSA: usb-audio: fix combine_word problem 2009-11-07 09:46:06 +01:00
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c Driver-Core: extend devnode callbacks to provide permissions 2009-09-19 12:50:38 -07:00
sound_firmware.c