diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2023-12-24 22:29:26 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-12-29 17:41:23 +0300 |
commit | c6b3e71e2c0899426dcdc46a778c6bd0c35925d1 (patch) | |
tree | 7cb6603689664a6cf37f103cc8984c24ea9d0b31 /lib/parman.c | |
parent | e79aea579a19ebdc703868c5955136abd80bb1a9 (diff) | |
download | linux-c6b3e71e2c0899426dcdc46a778c6bd0c35925d1.tar.xz |
ALSA: scarlett2: Remove line_out_hw_vol device info entry
By splitting config set gen2 into gen2a/b (for 6i6/18i8 vs 18i20), and
gen3b into gen3b/c (for 4i4/8i6 vs 18i8/18i20), we can use
scarlett2_has_config_item() instead of the per-device line_out_hw_vol.
As Gen 4 has a master volume control but no SW/HW switches, check for
both SCARLETT2_CONFIG_MASTER_VOLUME and SCARLETT2_CONFIG_SW_HW_SWITCH
as needed, even though for Gen 2 and Gen 3 the former implies the
latter.
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/307c4f8d6d2e034f3e386b51d72a39d77c8a9fce.1703444932.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions