linux/sound/firewire/fireworks
Takashi Sakamoto 2e9f17e34e ALSA: fireworks: 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 fireworks 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: 3d7250667e ("ALSA: fireworks: configure sampling transfer frequency in pcm.hw_params callback")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-07-07 11:19:56 +02:00
..
fireworks_command.c ALSA: fireworks: use u32 type for be32_to_cpup() macro 2015-10-19 11:57:02 +02:00
fireworks_hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
fireworks_midi.c ALSA: fireworks: fix wrong reference count for stream functionality at error path of rawmidi interface 2019-07-07 11:19:56 +02:00
fireworks_pcm.c ALSA: fireworks: change the range of critical section for stream data in PCM.hw_free callback 2019-06-17 08:18:36 +02:00
fireworks_proc.c ALSA: firewire: Remove superfluous snd_info_register() calls 2019-02-06 18:11:38 +01:00
fireworks_stream.c ALSA: fireworks: ensure to release isochronous resources in pcm.hw_params callback 2019-06-21 11:47:10 +02:00
fireworks_transaction.c ALSA: fireworks: accessing to user space outside spinlock 2016-08-31 16:17:15 +02:00
fireworks.c ALSA: firewire: simplify cleanup process when failing to register sound card 2018-10-10 12:11:50 +02:00
fireworks.h ALSA: fireworks: configure sampling transfer frequency in pcm.hw_params callback 2019-06-12 15:26:52 +02:00
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00