diff options
author | Mark Brown <broonie@kernel.org> | 2025-05-01 14:43:52 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-01 14:43:52 +0900 |
commit | 315c84567001aec7f7b74a0dbd4fce3e1c5cbd87 (patch) | |
tree | 1ded4681a5d72c82c9ff0fefdb425dbf3917b307 /scripts/generate_rust_analyzer.py | |
parent | 844af9911a5d1dc41f3478dc312a404b38cbc83b (diff) | |
parent | d5463e531c128ff1b141fdba2e13345cd50028a4 (diff) | |
download | linux-315c84567001aec7f7b74a0dbd4fce3e1c5cbd87.tar.gz linux-315c84567001aec7f7b74a0dbd4fce3e1c5cbd87.tar.bz2 linux-315c84567001aec7f7b74a0dbd4fce3e1c5cbd87.zip |
ASoC: intel/sdw_utils: Add volume limits to CS35L56
Merge series from Stefan Binding <sbinding@opensource.cirrus.com>:
Both CS35L56 and CS42L43 have maximum volumes above 0dB.
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 cases where systems use the soc_sdw_* drivers, audio above the
0dB volume will likely always be distorted, therefore apply a 0dB
limit to those devices.
Stefan Binding (2):
ASoC: intel/sdw_utils: Add volume limit to cs42l43 speakers
ASoC: intel/sdw_utils: Add volume limit to cs35l56 speakers
include/sound/soc_sdw_utils.h | 1 +
sound/soc/sdw_utils/soc_sdw_bridge_cs35l56.c | 4 ++++
sound/soc/sdw_utils/soc_sdw_cs42l43.c | 10 ++++++++
sound/soc/sdw_utils/soc_sdw_cs_amp.c | 24 ++++++++++++++++++++
4 files changed, 39 insertions(+)
--
2.43.0
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions