summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorZachary Huang <zuzhenhuang365@gmail.com>2026-11-07 00:08:17 +0800
committerMark Brown <broonie@kernel.org>2026-11-09 19:55:10 +0000
commit412a061ebf8ce0d4d49fc7352dba8d641257b3a6 (patch)
tree2061a1b722b330bf6a85fa0bd20eda40be1fc2e8 /scripts/objdiff
parent26b4ed750151528a04c225ee390942fb82429c8d (diff)
ASoC: es9356: fix the capture gain dB scale
The two capture gain controls are declared with a TLV step of 3 (FU33, analog mic) and 6 (FU11, DMIC). The TLV step is expressed in 0.01 dB units, so this advertises 0.03 dB and 0.06 dB per step: with a value range of 0..10 and 0..3 the whole controls appear to span only 0.30 dB and 0.18 dB. The hardware steps are 3 dB and 6 dB, i.e. 0..30 dB and 0..18 dB. Measured on a MECHREVO WUJIE 14SAH (ES9356 on SoundWire link 0) by recording the same signal at all four FU11 settings: FU11=0 rms 523 (-35.9 dBFS) FU11=1 rms 1007 (-30.3 dBFS) FU11=2 rms 2011 (-24.2 dBFS) FU11=3 rms 3794 (-18.7 dBFS) That is about +6 dB per step, matching the hardware definition rather than the advertised 0.06 dB. Because userspace (alsamixer, PipeWire/WirePlumber) derives the volume from this TLV, the capture gain currently looks like a control without any usable range, which is also why the default setting seems impossible to raise from the desktop. Fixes: 5d9cb740cd38 ("ASoC: es9356-sdca: Add ES9356 SDCA driver") Assisted-by: LLM Signed-off-by: Zachary Huang <zuzhenhuang365@gmail.com> Link: https://patch.msgid.link/179398129782.44051.2897523393297405157@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions