summaryrefslogtreecommitdiff
path: root/sound/soc/qcom/sc7180.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-11-17 21:36:45 -0600
committerMark Brown <broonie@kernel.org>2021-11-29 12:19:47 +0000
commitfd03cf7f5b4726028cfc2ef76e42d0d5c66377aa (patch)
tree785b319df01a61a298b1c4983a294d77731c3464 /sound/soc/qcom/sc7180.c
parent335302dbc2e4d041b579614beed83124f341ff43 (diff)
ASoC: sun8i-codec: Add AIF, ADC, and DAC volume controls
This allows changing the volume of each digital input/output independently, and provides the only "master volume" for the DAC. (The ADC also has a gain control on the analog side.) While the hardware supports digital gain up to +72dB, the controls here are limited to +24dB maximum, as any gain above that level makes volume sliders difficult to use, and is extremely likely to cause clipping. Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20211118033645.43524-1-samuel@sholland.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/sc7180.c')
0 files changed, 0 insertions, 0 deletions