soundwire: intel: Add basic power management support
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 21 Jul 2020 20:37:11 +0000 (04:37 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Aug 2020 12:01:18 +0000 (17:31 +0530)
commit9b3b4b3f2f2af863d2f6dd65afd295a5a673afa2
treecdf6dee1239889f65a5ca795f88a2abb6b5e193c
parentbd84256e86ecfb117d80c52870f4ece744610c97
soundwire: intel: Add basic power management support

Implement suspend/resume capabilities (not runtime_pm for now)
The resume part is essentially a full-blown re-enumeration.

When S0ix is supported, we will select clock stop mode when the ACPI
target state is S0, and tear down the link for S3.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200721203723.18305-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c