soundwire: intel: call helper to reset Slave states on resume
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 17 Aug 2020 15:29:15 +0000 (23:29 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 18 Aug 2020 06:31:04 +0000 (12:01 +0530)
commit99b6a30f9f9995be3698f59df9882490d604f5d1
tree102045e57cc67aaa91f7cb22f375cdabfaa73923
parentcb1e6d59e89ce272a67e6dc22e9ec72df622fb1b
soundwire: intel: call helper to reset Slave states on resume

This helps make sure they are all UNATTACHED and reset the state
machines.

At the moment we perform a bus reset both for system resume and
pm_runtime resume, this will be modified when clock-stop mode is
supported

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