summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-24 07:26:59 +0200
committerTakashi Iwai <tiwai@suse.de>2018-04-25 10:37:45 +0200
commitf5e94b4c6ebdabe0f602d796e0430180927521a0 (patch)
treebfdc7a9bfc66c8711e52772e5762aed1efec9484 /tools/perf/scripts/python
parentab3b8e5159b5335c81ba2d09ee5054d4a1b5a7a6 (diff)
ALSA: seq: oss: Fix unbalanced use lock for synth MIDI device
When get_synthdev() is called for a MIDI device, it returns the fixed midi_synth_dev without the use refcounting. OTOH, the caller is supposed to unreference unconditionally after the usage, so this would lead to unbalanced refcount. This patch corrects the behavior and keep up the refcount balance also for the MIDI synth device. Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions