kernel_optimize_test/sound/firewire
Takashi Sakamoto 22c103cd3d ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure
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>
2015-08-29 09:14:41 +02:00
..
bebob ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure 2015-08-29 09:14:41 +02:00
dice ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure 2015-08-29 09:14:41 +02:00
fireworks ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure 2015-08-29 09:14:41 +02:00
oxfw ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure 2015-08-29 09:14:41 +02:00
amdtp.c ALSA: fireworks/firewire-lib: add support for recent firmware quirk 2015-08-05 07:52:39 +02:00
amdtp.h ALSA: fireworks/firewire-lib: add support for recent firmware quirk 2015-08-05 07:52:39 +02:00
cmp.c
cmp.h
fcp.c
fcp.h
isight.c
iso-resources.c ALSA: firewire-lib: leave unit reference counting completely 2015-03-10 15:27:19 +01:00
iso-resources.h
Kconfig ALSA: bebob: add support for Behringer FCA 610/1616 2015-06-15 13:38:47 +02:00
lib.c
lib.h
Makefile ALSA: oxfw: Move to its own directory 2014-11-29 20:21:43 +01:00
packets-buffer.c
packets-buffer.h
scs1x.c