]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: Intel: ptl: Add support for mic privacy
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 7 Mar 2025 11:28:16 +0000 (13:28 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 8 Mar 2025 16:06:43 +0000 (16:06 +0000)
commit4a43c3241ec3465a501825ecaf051e5a1d85a60b
treeb54f7c32ee1b0b52eb6598e709e54d6f9cd3f1c1
parenta0db661e7d8e084e9cf3b9cdca7c6e4e66f2e849
ASoC: SOF: Intel: ptl: Add support for mic privacy

Implement the three callbacks that is needed to enable support for
reporting the mic privacy change via soundwire.

In PTL the mic privacy reporting is supported via soundwire and DMIC and
the soundwire is owned by the host, it's interrupt is routed there.

To enable the interrupt, the sublink mask needs to be passed to the
multilink layer, the check_mic_privacy_irq/process_mic_privacy callbacks
needs to be implemented to check and report the mic privacy change.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://patch.msgid.link/20250307112816.1495-9-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/ptl.c
sound/soc/sof/intel/ptl.h