Commit 57ed510
soundwire: qcom: 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>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220426235623.4253-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent fff1fd9 commit 57ed510
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | | - | |
519 | 518 | | |
520 | 519 | | |
521 | 520 | | |
| |||
1059 | 1058 | | |
1060 | 1059 | | |
1061 | 1060 | | |
1062 | | - | |
| 1061 | + | |
1063 | 1062 | | |
1064 | 1063 | | |
1065 | | - | |
| 1064 | + | |
1066 | 1065 | | |
1067 | | - | |
1068 | 1066 | | |
1069 | 1067 | | |
1070 | 1068 | | |
| |||
1253 | 1251 | | |
1254 | 1252 | | |
1255 | 1253 | | |
1256 | | - | |
| 1254 | + | |
1257 | 1255 | | |
1258 | 1256 | | |
1259 | | - | |
| 1257 | + | |
1260 | 1258 | | |
1261 | | - | |
1262 | 1259 | | |
1263 | 1260 | | |
1264 | 1261 | | |
| |||
0 commit comments