mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
22c103cd3d
In PCM core, when hw_params() in each driver returns error, the state of PCM substream is kept as 'open'. In this case, current drivers for sound units on IEEE 1394 bus doesn't decrement substream counter in hw_free() correctly. This causes these drivers to keep streams even if not required. This commit fixes this bug. When snd_pcm_lib_alloc_vmalloc_buffer() fails, hw_params function in each driver returns without incrementing the counter. Reported-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
bebob.c | ||
bebob.h | ||
bebob_command.c | ||
bebob_focusrite.c | ||
bebob_hwdep.c | ||
bebob_maudio.c | ||
bebob_midi.c | ||
bebob_pcm.c | ||
bebob_proc.c | ||
bebob_stream.c | ||
bebob_terratec.c | ||
bebob_yamaha.c | ||
Makefile |