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)
commit953a446b50fd6c68f0a40f0cd79a2a903faf3243
treeab6a1f042250a84f64b2acc1ff0c53ecb3a5d1da
parentd767aba2023c80ff0247b45526358d9a30af8293
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