WSL2-Linux-Kernel/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
Kconfig ALSA: bebob: add support for Behringer FCA 610/1616 2015-06-15 13:38:47 +02:00
Makefile ALSA: oxfw: Move to its own directory 2014-11-29 20:21:43 +01: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 ALSA: firewire-lib: fix kerneldoc errors 2014-11-18 18:10:23 +01:00
cmp.h ALSA: firewire-lib: Add a new function to check others' connection 2014-05-26 14:22:46 +02:00
fcp.c ALSA: firewire-lib: Remove a comment about restriction of asynchronous operation 2014-06-03 08:14:21 +02:00
fcp.h ALSA: firewire-lib: Add some AV/C general commands 2014-05-26 14:23:13 +02:00
isight.c ALSA: pcm: Add snd_pcm_stop_xrun() helper 2014-11-09 18:20:40 +01:00
iso-resources.c ALSA: firewire-lib: leave unit reference counting completely 2015-03-10 15:27:19 +01:00
iso-resources.h firewire: octlet AT payloads can be stack-allocated 2011-05-10 22:53:44 +02:00
lib.c ALSA: firewire: extend snd_fw_transaction() 2013-10-20 22:07:57 +02:00
lib.h ALSA: firewire: extend snd_fw_transaction() 2013-10-20 22:07:57 +02:00
packets-buffer.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
packets-buffer.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
scs1x.c ALSA: firewire: Convert to snd_card_new() with a device pointer 2014-02-14 08:13:31 +01:00