[alsa-devel] [PATCH 0/6] ALSA: firewire: fix wrong reference count for stream functionality at error path of rawmidi interface

Takashi Sakamoto o-takashi at sakamocchi.jp
Sun Jul 7 07:20:05 CEST 2019


Hi,

All of drivers in ALSA firewire stack maintain packet streaming by
reference count. However at error path of MIDI interface, some
drivers have a bug that the count remains at error path of rawmidi
interface. This causes the drivers don't stop packet streaming even
if it's not required.

This patchset fixes drivers including the bug.

Takashi Sakamoto (6):
  ALSA: bebob: fix wrong reference count for stream functionality at
    error path of rawmidi interface
  ALSA: fireworks: fix wrong reference count for stream functionality at
    error path of rawmidi interface
  ALSA: oxfw: fix wrong reference count for stream functionality at
    error path of rawmidi interface
  ALSA: dice: fix wrong reference count for stream functionality at
    error path of rawmidi interface
  ALSA: firewire-digi00x: fix wrong reference count for stream
    functionality at error path of rawmidi interface
  firewire-motu: fix wrong reference count for stream functionality at
    error path of rawmidi interface

 sound/firewire/bebob/bebob_midi.c         | 2 ++
 sound/firewire/dice/dice-midi.c           | 2 ++
 sound/firewire/digi00x/digi00x-midi.c     | 2 ++
 sound/firewire/fireworks/fireworks_midi.c | 2 ++
 sound/firewire/motu/motu-midi.c           | 2 ++
 sound/firewire/oxfw/oxfw-midi.c           | 2 ++
 6 files changed, 12 insertions(+)

-- 
2.20.1



More information about the Alsa-devel mailing list