Skip to content

Commit d028b57

Browse files
ujfalusivinodkoul
authored andcommitted
ASoC: SOF: Intel: hda: Set the mic_privacy flag for soundwire with ACE3+
The microphone privacy feature is introduced with ACE3, the soundwire driver needs to know this to be able to print the PVCCS register via register dump in sysfs. Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent e1f3f5b commit d028b57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/sof/intel/hda.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ static int hda_sdw_probe(struct snd_sof_dev *sdev)
192192
res.ext = true;
193193
res.ops = &sdw_ace2x_callback;
194194

195+
/* ACE3+ supports microphone privacy */
196+
if (chip->hw_ip_version >= SOF_INTEL_ACE_3_0)
197+
res.mic_privacy = true;
195198
}
196199
res.irq = sdev->ipc_irq;
197200
res.handle = hdev->info.handle;

0 commit comments

Comments
 (0)