soundwire: cadence: use pm_runtime_resume_and_get()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 26 Apr 2022 23:56:21 +0000 (07:56 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 May 2022 06:32:29 +0000 (12:02 +0530)
commit915bf27a46bb4e7d330fb384f47853ccd28e5564
treea4bb3215bf5bab179f54189bdbaae54123a90312
parent443a98e649b469b4e6a2832799853a5764ef9002
soundwire: cadence: use pm_runtime_resume_and_get()

Use pm_runtime_resume_and_get() to replace the pm_runtime_get_sync() and
pm_runtime_put_noidle() pattern.

No functional changes.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220426235623.4253-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c