diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2025-04-30 11:31:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-01 08:22:06 +0900 |
commit | 02b44a2b2bdcee03cbb92484d31e9ca1b91b2a38 (patch) | |
tree | bf2760b159b0cc76014dd69c4c49ee5919629509 /scripts/generate_rust_analyzer.py | |
parent | 95b2536137eeb66f20947e0fb0d0c100c8d6a140 (diff) | |
download | linux-02b44a2b2bdcee03cbb92484d31e9ca1b91b2a38.tar.gz linux-02b44a2b2bdcee03cbb92484d31e9ca1b91b2a38.tar.bz2 linux-02b44a2b2bdcee03cbb92484d31e9ca1b91b2a38.zip |
ASoC: intel/sdw_utils: Add volume limit to cs42l43 speakers
The volume control for cs42l43 speakers has a maximum gain of +31.5 dB.
However, for many use cases, this can cause distorted audio, depending
various factors, such as other signal-processing elements in the chain,
for example if the audio passes through a gain control before reaching
the codec or the signal path has been tuned for a particular maximum
gain in the codec.
In the case of systems which use the soc_sdw_cs42l43 driver, audio will
likely be distorted in all cases above 0 dB, therefore add a volume
limit of 128, which is 0 dB maximum volume inside this driver.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250430103134.24579-2-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions