ASoC: SOF: Intel: lnl: Disable DMIC/SSP offload on remove
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 3 Apr 2024 11:18:39 +0000 (14:18 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2024 17:47:08 +0000 (18:47 +0100)
commit3f5eb32513e75eb321919a703800d4e13e9d3ba8
treee1a1f3b57982fe64f60246b6b1908c3e362f6dd2
parent09bbc4f0d6ed0c7ca68c0c5fda9613917a1c9f6e
ASoC: SOF: Intel: lnl: Disable DMIC/SSP offload on remove

During probe the DMIC/SSP offload is enabled and it is not reversed on
remove.

Add a remove wrapper for LNL to disable the offload for DMIC and SSP
similarly to what is done during probe.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://msgid.link/r/20240403111839.27259-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/lnl.c