ALSA: usb-audio: scarlett2: Add scarlett2_vol_ctl_write() helper
authorGeoffrey D. Bennett <g@b4.vu>
Mon, 21 Jun 2021 18:09:37 +0000 (03:39 +0930)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jun 2021 19:36:04 +0000 (21:36 +0200)
commit06250c89d47cefb51d13fa27e1d6f3032831c8c8
tree7c9bee48bc6dfd93f4637dc4161e0064c4d039e0
parent904e6da1fd725245269cedb4d9b4be74a2b22818
ALSA: usb-audio: scarlett2: Add scarlett2_vol_ctl_write() helper

Add helper function for setting the read/write status of a volume
control. This will simplify the upcoming mute control support.

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