diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-11-29 12:45:42 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-11-29 13:07:37 +0300 |
commit | 3978d53df7236f0a517c2abeb43ddf6ac162cdd8 (patch) | |
tree | 4e840e44e8449fd5b59f9edd1a9eef2182dad8bf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | aaa55faa2495320e44bc643a917c701f2cc89ee7 (diff) | |
download | linux-3978d53df7236f0a517c2abeb43ddf6ac162cdd8.tar.xz |
ALSA: ump: Don't open legacy substream for an inactive group
When a UMP Group is inactive, we shouldn't allow users to access it
via the legacy MIDI access. Add the group active flag check and
return -ENODEV if it's inactive.
Link: https://patch.msgid.link/20241129094546.32119-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions