]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Simplify snd_usb_init_sample_rate() arguments
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:25 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:14:18 +0000 (15:14 +0100)
commitebde9621cff19b05cd0aeacf59be3404b1e5f61a
treeab6a1f042250a84f64b2acc1ff0c53ecb3a5d1da
parent7f044927ee2331ceb381f614d627705cf88f4c13
ALSA: usb-audio: Simplify snd_usb_init_sample_rate() arguments

A preliminary change for the later big changes.  This is a minor code
refactoring to drop the unnecessary arguments that can be retrieved in
a different way.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-20-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/clock.h
sound/usb/pcm.c
sound/usb/quirks.c
sound/usb/stream.c