aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/card.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-11-23 09:53:17 +0100
committerTakashi Iwai <tiwai@suse.de>2020-11-23 15:12:56 +0100
commit7726dce14c5e7eaa78567be8c1e417acd6c83415 (patch)
tree324452b5c4628394f3f7557b5878da80bc532510 /sound/usb/card.c
parentALSA: usb-audio: Add hw constraint for implicit fb sync (diff)
downloadlinux-dev-7726dce14c5e7eaa78567be8c1e417acd6c83415.tar.xz
linux-dev-7726dce14c5e7eaa78567be8c1e417acd6c83415.zip
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 'sound/usb/card.c')
0 files changed, 0 insertions, 0 deletions