summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorFilippo Falezza <effeffe99@gmail.com>2026-10-27 01:33:56 +0000
committerMark Brown <broonie@kernel.org>2026-10-27 11:42:50 +0000
commit55df18877471ade98ad0a1c12c95f78ba54ec5cc (patch)
tree5b4b40593d2b9a52fc395b10547c018681cbaa7d /scripts/basic/split-include.c
parentd34a818a331f7e270fa9dc3db3d96f6a0d4fa7ab (diff)
downloadlinux-55df18877471ade98ad0a1c12c95f78ba54ec5cc.tar.gz
linux-55df18877471ade98ad0a1c12c95f78ba54ec5cc.zip
ASoC: qcom: sm8250: Limit RX digital gain to 0 dB
The RX macro interpolator gains ("RX_RXn Digital Volume") run from -84 dB to +40 dB. PipeWire and PulseAudio map full volume to the top of a hardware control's range, so a UCM device that uses one of them as its volume control plays 40 dB hot at 100% and clips. Set a platform limit of 84 (0 dB) on the RX0, RX1 and RX2 interpolator gains when the RX codec DMA link is initialised, the way the sc8280xp and x1e80100 machine drivers limit their WSA gains. 0 dB is the default of these controls and the value alsa-ucm-conf's rx-macro init sets, so existing configurations are unaffected. A control that does not exist on a board is skipped. Signed-off-by: Filippo Falezza <effeffe99@gmail.com> Reviewed-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com> Link: https://patch.msgid.link/20261027-sm8250-rx-gain-v1-1-386ee6d971db@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions