summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRong Zhang <i@rong.moe>2026-03-04 03:47:57 +0800
committerTakashi Iwai <tiwai@suse.de>2026-03-04 12:05:57 +0100
commit1060dbbbb2f260e4755dbd8d2f53f5a1894397d8 (patch)
tree31723156ef1a6830212aa4ac512886d67ce2e6ce /tools/perf/scripts/python/stackcollapse.py
parent41d78cb724f4b40b7548af420ccfe524b14023bb (diff)
ALSA: usb-audio: Add helper function for volume range checks
When a potentially insane volume range is found, the volume control parameters will be printed in WARN level instead of DEBUG level. Currently, it's done by emitting a open-coded usb_audio_warn() in the corresponding check. The following changes are about to add more checks against volumen ranges. As the first step, extract the current check logic into a helper function to improve readability. No functional change intended. Signed-off-by: Rong Zhang <i@rong.moe> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260303194805.266158-3-i@rong.moe
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions