diff options
| author | Rong Zhang <i@rong.moe> | 2026-03-04 03:47:57 +0800 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-03-04 12:05:57 +0100 |
| commit | 1060dbbbb2f260e4755dbd8d2f53f5a1894397d8 (patch) | |
| tree | 31723156ef1a6830212aa4ac512886d67ce2e6ce /tools/perf/scripts/python/bin | |
| parent | 41d78cb724f4b40b7548af420ccfe524b14023bb (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/bin')
0 files changed, 0 insertions, 0 deletions
