summaryrefslogtreecommitdiff
path: root/sound/usb/mixer_us16x08.c
diff options
context:
space:
mode:
authorGeoffrey D. Bennett <g@b4.vu>2023-12-25 05:58:49 +1030
committerTakashi Iwai <tiwai@suse.de>2023-12-29 15:41:23 +0100
commit80c7933e74c3d7dfbaf994a340317a199a6a640c (patch)
treea52338ad753234bc35732f1b231b2d8128f84caf /sound/usb/mixer_us16x08.c
parent42caae0e20323af7c5b41ac089798f5590b54845 (diff)
ALSA: scarlett2: Remove struct scarlett2_usb_volume_status
The struct scarlett2_usb_volume_status matched the config space layout of a few volume controls that could be read together and were in fixed locations between Gen 2 and Gen 3 devices. Gen 4 devices have removed, moved, and new related controls, so this needs to be cleaned up. By adding SCARLETT2_CONFIG_MASTER_VOLUME (the only config item that didn't already have its own entry, because it is read-only), we can remove: - struct scarlett2_usb_volume_state, - #define SCARLETT2_USB_VOLUME_STATUS_OFFSET, and - scarlett2_usb_get_volume_status() and replace with calls to scarlett2_usb_get_config(). Signed-off-by: Geoffrey D. Bennett <g@b4.vu> Link: https://lore.kernel.org/r/2ee88994857246bf89fab8e62ac279f3bcf96192.1703444932.git.g@b4.vu Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_us16x08.c')
0 files changed, 0 insertions, 0 deletions