OSDN Git Service

ASoC: Intel: atom: use pm_runtime_resume_and_get()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 26 Apr 2022 18:38:07 +0000 (13:38 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 27 Apr 2022 13:15:27 +0000 (14:15 +0100)
commitd879e9444634e3ef7cc5646fca0892c4f1483a8d
tree0057919806cde31a92889b6424cf9c97649dd172
parent6cefb6264277c073030a3b2d91ba6b28593b4c89
ASoC: Intel: atom: use pm_runtime_resume_and_get()

Use pm_runtime_resume_and_get() to replace the pm_runtime_get_sync() and
pm_runtime_put_sync() 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>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220426183807.102442-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_drv_interface.c