aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGeoffrey D. Bennett <[email protected]>2023-12-20 04:07:52 +1030
committerTakashi Iwai <[email protected]>2023-12-29 15:39:27 +0100
commit04f8f053252b86c7583895c962d66747ecdc61b7 (patch)
tree99cafacf32c14887bccc69b126d1bf04c53d6cd9 /tools/perf/scripts/python/flamegraph.py
parent50603a67daef161c78c814580d57f7f0be57167e (diff)
ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()
Ensure the value passed to scarlett2_mixer_ctl_put() is between 0 and SCARLETT2_MIXER_MAX_VALUE so we don't attempt to access outside scarlett2_mixer_values[]. Signed-off-by: Geoffrey D. Bennett <[email protected]> Fixes: 9e4d5c1be21f ("ALSA: usb-audio: Scarlett Gen 2 mixer interface") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions