soundwire: Intel: stop sdw clock in system suspend

Perform clock stop with proper mode so that the Peripherals can enter
the deserved power state. And keep the bus unwakeable because there is
no need to wake up the bus in system suspend.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20260901030311.232823-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Bard Liao 2026-09-01 11:03:11 +08:00 committed by Vinod Koul
parent 8c1e69e322
commit 90b63b309f

View File

@ -672,7 +672,8 @@ static int __maybe_unused intel_suspend(struct device *dev)
return 0;
}
ret = sdw_intel_stop_bus(sdw, false, false);
/* Perform clock stop with proper mode and keep the bus unwakeable in system suspend. */
ret = sdw_intel_stop_bus(sdw, true, false);
if (ret < 0) {
dev_err(dev, "%s: cannot stop bus: %d\n", __func__, ret);
return ret;