ASoC: sdw_utils: Add quirk to ignore sdca RT712/RT721 CODEC_MIC#5739
ASoC: sdw_utils: Add quirk to ignore sdca RT712/RT721 CODEC_MIC#5739macchian wants to merge 1 commit intothesofproject:topic/sof-devfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a SoundWire machine-driver quirk mapping so specific SDCA Realtek codecs (RT712/RT721) can skip exposing their CODEC_MIC endpoint on SKUs that instead route microphone capture through the host PCH DMIC when ACPI machine tables are used.
Changes:
- Mark RT712-SDCA MIC endpoint (aif3) with
SOC_SDW_CODEC_MICquirk and set it as an exclude-quirtk. - Mark RT721-SDCA MIC endpoint (aif3) with
SOC_SDW_CODEC_MICquirk and set it as an exclude-quirk.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@lgirdwood , could you help review it? Thank you. |
Thanks for point that out. My tag suppose not the earliest patch. I have updated it according to your suggestion as two Fixes tags. |
Some devices do not use CODEC_MIC but use the host PCH_DMIC instead. Add a quirk to skip the CODEC_MIC DAI when it is not present in disco table, ensuring the correct capture device is used. If CODEC_MIC is present, it continues to be used as default. Fixes: 9489db9 ("ASoC: sdw_utils: add SmartMic DAI for RT712 VB") Signed-off-by: Mac Chiang <mac.chiang@intel.com>
When the sof driver selects the ACPI machine tables, some SKUs use the host PCH_DMIC;add quirk to ignore the CODEC_MIC if found in disco table.