ALSA: usb-audio: scarlett2: Add usb_tx/rx functions
authorGeoffrey D. Bennett <g@b4.vu>
Mon, 21 Jun 2021 18:09:06 +0000 (03:39 +0930)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jun 2021 19:35:58 +0000 (21:35 +0200)
commit1f7fa6e5afbf20a28ce7c20149825946f25c1059
tree808a5bf7f6ba23661177a5067179a091bf9a350a
parent0f7c956533680d5c905d256044d7b23f180dc230
ALSA: usb-audio: scarlett2: Add usb_tx/rx functions

Pull out snd_usb_ctl_msg() calls from scarlett2_usb() and put into
scarlett2_usb_tx() and scarlett2_usb_rx() functions.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/720d1d6f227fc8f5d7d6191a8de62db796940235.1624294591.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett_gen2.c