soundwire: intel_auxdevice: use pm_runtime_resume() instead of pm_request_resume()
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 10 Apr 2024 02:34:36 +0000 (02:34 +0000)
committerVinod Koul <vkoul@kernel.org>
Thu, 11 Apr 2024 17:22:51 +0000 (22:52 +0530)
commit6f4867fa57604fc898a63ee73fe890786b9f4a72
tree23c88725c860961c07acf3f99dcb9f4a311ee882
parent62707b56b2b47dfdc94d4b079c9f9bfe5a923e33
soundwire: intel_auxdevice: use pm_runtime_resume() instead of pm_request_resume()

We need to wait for each child to fully resume. pm_request_resume() is
asynchronous, what we need is to wait synchronously to avoid race
conditions.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240410023438.487017-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_auxdevice.c