linux/sound/firewire/digi00x
Takashi Sakamoto 64582c56a9 ALSA: firewire-digi00x: fix wrong reference count for stream functionality at error path of rawmidi interface
In IEC 61883-6, several types of sampling data can be multiplexed into
payload of common isochronous packet (CIP). For typical audio and music
units, PCM samples and MIDI messages are multiplexed into one packet
streaming.

ALSA firewire-digi00x driver allows applications of rawmidi interface to
start packet streaming for transmission of MIDI messages. However at
error path, the reference count of stream functionality is not operated
correctly. This can brings a bug that packet streaming is not stopped
when all referrers release the count.

This commit fixes the bug.

Fixes: ae8ffbb265 ("ALSA: firewire-digi00x: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-07-07 11:19:57 +02:00
..
amdtp-dot.c ALSA: firewire-lib: use union for directional parameters 2019-05-22 12:28:00 +02:00
digi00x-hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
digi00x-midi.c ALSA: firewire-digi00x: fix wrong reference count for stream functionality at error path of rawmidi interface 2019-07-07 11:19:57 +02:00
digi00x-pcm.c ALSA: firewire-digi00x: unify stop and release method for duplex streams 2019-06-21 11:47:04 +02:00
digi00x-proc.c ALSA: firewire: Remove superfluous snd_info_register() calls 2019-02-06 18:11:38 +01:00
digi00x-stream.c ALSA: firewire-digi00x: unify stop and release method for duplex streams 2019-06-21 11:47:04 +02:00
digi00x-transaction.c ALSA: firewire-digi00x: remove transaction handler for unknown purpose 2017-04-05 21:34:13 +02:00
digi00x.c ALSA: firewire: simplify cleanup process when failing to register sound card 2018-10-10 12:11:50 +02:00
digi00x.h ALSA: firewire-digi00x: unify stop and release method for duplex streams 2019-06-21 11:47:04 +02:00
Makefile ALSA: firewire-digi00x: add support for MIDI ports corresponding to isochronous packet streaming 2015-10-11 18:26:04 +02:00