From: Mark Brown Date: Thu, 1 May 2025 05:43:52 +0000 (+0900) Subject: ASoC: intel/sdw_utils: Add volume limits to CS35L56 X-Git-Tag: v6.15-rc5~10^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=315c84567001aec7f7b74a0dbd4fce3e1c5cbd87;p=thirdparty%2Fkernel%2Fstable.git ASoC: intel/sdw_utils: Add volume limits to CS35L56 Merge series from Stefan Binding : 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 --- 315c84567001aec7f7b74a0dbd4fce3e1c5cbd87