sof-soundwire: es9356: default the DMIC gain to +12 dB
A message that is not in the archive (sent off-list or not yet received): alsa-project/alsa-ucm-conf/pr/[email protected]
alsa-project/alsa-ucm-conf pull request #912 was opened from kannoy2024:
The internal DMIC capture gain control (FU11) starts at 0 dB, which is too quiet for normal recordings: the four steps are 6 dB apart (0/6/12/18 dB) and 0 dB leaves the voice well below the noise floor, so the internal microphone is unusable until the mixer is adjusted by hand.
Set +12 dB in the EnableSequence of the Mic device, following the pattern used by the other codecs (for example cs42l43-dmic sets its DP1TX inputs in the device EnableSequence). The value is still applied through the normal mixer control, so it can be changed at runtime.
Tested on a MECHREVO WUJIE 14SAH (AMD ACP6.3, ES9356 on SoundWire link 0): setting the control to 0 dB by hand and then restarting PipeWire results in the device being enabled at +12 dB, and recording from the internal microphone is usable without any manual mixer change.
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/912
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/912.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf