summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2026-09-01 11:03:11 +0800
committerVinod Koul <vkoul@kernel.org>2026-09-08 19:24:32 +0530
commit90b63b309fd6c0f192337659e73e3047a67df99f (patch)
treeb669f4efb423f3ad7c83ffe6bbdeced02452e0e2
parent8c1e69e322a9757f596242bdd004e76e30181869 (diff)
downloadlinux-next-90b63b309fd6c0f192337659e73e3047a67df99f.tar.gz
linux-next-90b63b309fd6c0f192337659e73e3047a67df99f.zip
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>
-rw-r--r--drivers/soundwire/intel_auxdevice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soundwire/intel_auxdevice.c b/drivers/soundwire/intel_auxdevice.c
index 170f9f92f11b..901a71262094 100644
--- a/drivers/soundwire/intel_auxdevice.c
+++ b/drivers/soundwire/intel_auxdevice.c
@@ -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;