Skip to content

Commit ed90243

Browse files
committed
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>
1 parent 29f870f commit ed90243

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/soundwire/intel_auxdevice.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,8 @@ static int __maybe_unused intel_suspend(struct device *dev)
670670
return 0;
671671
}
672672

673-
ret = sdw_intel_stop_bus(sdw, false, false);
673+
/* Perform clock stop with proper mode and keep the bus unwakeable in system suspend. */
674+
ret = sdw_intel_stop_bus(sdw, true, false);
674675
if (ret < 0) {
675676
dev_err(dev, "%s: cannot stop bus: %d\n", __func__, ret);
676677
return ret;

0 commit comments

Comments
 (0)