kernel_optimize_test/sound
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
..
ac97
aoa
arm
atmel
core Merge branch 'for-linus' into for-next 2019-07-01 17:01:55 +02:00
drivers
firewire ALSA: oxfw: fix wrong reference count for stream functionality at error path of rawmidi interface 2019-07-07 11:19:56 +02:00
hda Merge branch 'for-linus' into for-next 2019-07-01 17:01:55 +02:00
i2c
isa ALSA: gus: fix misuse of %x 2019-04-28 08:25:18 +02:00
mips
oss
parisc
pci ALSA: cs4281: remove redundant assignment to variable val and remove a goto 2019-07-05 12:10:36 +02:00
pcmcia
ppc
sh ALSA: aica: Fix a long-time build breakage 2019-05-08 14:48:01 +02:00
soc Merge branch 'for-linus' into for-next 2019-07-01 17:01:55 +02:00
sparc
spi
synth ALSA: synth: emux: soundfont.c: divide by zero in calc_gus_envelope_time() 2019-05-06 15:08:08 +02:00
usb ALSA: usb-audio: Fix parse of UAC2 Extension Units 2019-07-05 08:06:47 +02:00
x86
xen ALSA: xen-front: fix unintention integer overflow on left shifts 2019-06-28 10:41:17 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c