diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2025-04-30 11:31:20 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-01 08:22:06 +0900 |
commit | d5463e531c128ff1b141fdba2e13345cd50028a4 (patch) | |
tree | c9f1b939320f148bbe0f55029e80683c2bd328f4 /scripts/generate_rust_analyzer.py | |
parent | 02b44a2b2bdcee03cbb92484d31e9ca1b91b2a38 (diff) | |
download | linux-d5463e531c128ff1b141fdba2e13345cd50028a4.tar.gz linux-d5463e531c128ff1b141fdba2e13345cd50028a4.tar.bz2 linux-d5463e531c128ff1b141fdba2e13345cd50028a4.zip |
ASoC: intel/sdw_utils: Add volume limit to cs35l56 speakers
The volume control for cs35l56 speakers has a maximum gain of +12 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 amp or the signal path has been tuned for a particular maximum
gain in the amp.
In the case of systems which use the soc_sdw_* driver, audio will
likely be distorted in all cases above 0 dB, therefore add a volume
limit of 400, which is 0 dB maximum volume inside this driver.
The volume limit should be applied to both soundwire and soundwire
bridge configurations.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://patch.msgid.link/20250430103134.24579-3-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