sof-soundwire: rt711-sdca: fix silent headphones and headset mic
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 #740 was opened from dankovacek:
Two related UCM fixes for rt711-sdca on sof-soundwire platforms.
**Fix 1: Headphones produce no audio**
PGA30.0 30 Playback Volume (the SOF pipeline 30 gain stage for PCM device 0) defaults to 0 at boot, which the dBscale treats as a hardware mute. The DAPM chain is active and audio flows on the SoundWire bus, but the pipeline passes silence into the codec. Added to Headphones EnableSequence with value 32,32 (0 dB).
**Fix 2: Headset microphone produces no audio**
Headset Mic Switch is a DAPM gate controlling the codec mic input path. UCM never enabled it, so the capture path was powered down regardless of the FU0F Capture Switch state. Added on/off to Headset Enable/DisableSequence, matching the existing pattern for Headphone Switch.
Both bugs affect any sof-soundwire platform using rt711-sdca. Tested on Dell Precision 5480 (Intel Raptor Lake-P, sof-audio-pci-intel-tgl, rt711-sdca on SoundWire master-0-2).
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/740
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/740.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf