linux_dsm_epyc7002/sound/firewire
Takashi Sakamoto 03a954aef7 ALSA: oxfw: 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 oxfw 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: 4f380d0070 ("ALSA: oxfw: configure packet format 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
..
bebob ALSA: bebob: fix wrong reference count for stream functionality at error path of rawmidi interface 2019-07-07 11:19:55 +02:00
dice ALSA: dice: unify stop and release method for duplex streams 2019-06-21 11:47:06 +02:00
digi00x ALSA: firewire-digi00x: unify stop and release method for duplex streams 2019-06-21 11:47:04 +02:00
fireface Merge branch 'for-linus' into for-next 2019-07-01 17:01:55 +02:00
fireworks ALSA: fireworks: fix wrong reference count for stream functionality at error path of rawmidi interface 2019-07-07 11:19:56 +02:00
motu Merge branch 'for-linus' into for-next 2019-07-01 17:01:55 +02:00
oxfw ALSA: oxfw: fix wrong reference count for stream functionality at error path of rawmidi interface 2019-07-07 11:19:56 +02:00
tascam ALSA: firewire-tascam: unify stop and release method for duplex streams 2019-06-21 11:46:58 +02:00
amdtp-am824.c Merge branch 'for-linus' into for-next 2019-07-01 17:01:55 +02:00
amdtp-am824.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
amdtp-stream-trace.h Revert "ALSA: firewire-lib: fix inverted node IDs for amdtp_packet events" 2019-06-24 12:10:41 +02:00
amdtp-stream.c ALSA: firewire-lib: fix to process MIDI conformant data channel for AM824 format 2019-06-28 10:54:52 +02:00
amdtp-stream.h ALSA: firewire-lib: unify packet handler for IT context 2019-05-24 09:05:15 +02:00
cmp.c ALSA: firewire-lib: split allocation of isochronous resources from establishment of connection 2019-06-17 08:18:36 +02:00
cmp.h ALSA: firewire-lib: split allocation of isochronous resources from establishment of connection 2019-06-17 08:18:36 +02:00
fcp.c ALSA: firewire-lib/bebob/oxfw: improve response evaluation for AV/C commands 2017-04-05 21:37:23 +02:00
fcp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
isight.c ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback 2018-10-12 08:08:04 +02:00
iso-resources.c ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource 2017-08-20 09:40:32 +02:00
iso-resources.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig ALSA: fireface: add support for Fireface UCX 2019-01-21 15:12:25 +01:00
lib.c ALSA: firewire-lib/firewire-tascam: localize async midi port 2017-04-14 14:50:26 +02:00
lib.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
packets-buffer.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
packets-buffer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00