diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-11-23 11:53:17 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-23 17:12:56 +0300 |
commit | 7726dce14c5e7eaa78567be8c1e417acd6c83415 (patch) | |
tree | 324452b5c4628394f3f7557b5878da80bc532510 /tools/perf/scripts/python | |
parent | 5a6c3e11c9c9bc764cd4e2621cdb48cc9afb28a1 (diff) | |
download | linux-7726dce14c5e7eaa78567be8c1e417acd6c83415.tar.xz |
ALSA: usb-audio: Simplify hw_params rules
Several hw_params functions narrows the interval via min/max rule in
the very similar way, so factor out those into a helper function and
use commonly.
No functional changes, just minor code refactoring.
Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-12-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions