]> git.baikalelectronics.ru Git - kernel.git/commit
soundwire: intel: add CLK_STOP_BUS_RESET support
authorRander Wang <rander.wang@intel.com>
Mon, 17 Aug 2020 15:29:19 +0000 (23:29 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 18 Aug 2020 06:31:05 +0000 (12:01 +0530)
commit3331f4e619ed759dd8d00d65d143a13c373d8f55
treee644ed33727e79b3345392412cf96af2256532f5
parent738fd111ad30fc560041cbfb907752d0710d5c0f
soundwire: intel: add CLK_STOP_BUS_RESET support

Move existing pm_runtime suspend under the CLK_STOP_TEARDOWN case.

In this mode the Master IP will lose all context but in-band wakes are
supported.

On pm_runtime resume a complete re-enumeration will be performed after
a bus reset.

Signed-off-by: Rander Wang <rander.wang@intel.com>
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/20200817152923.3259-9-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c