mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
8c1e69e322
commit
90b63b309f
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user