]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: main: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 09:17:42 +0000 (09:17 +0000)
committerKalle Valo <kvalo@kernel.org>
Sat, 23 Apr 2022 07:08:09 +0000 (10:08 +0300)
commitadbb9f24881b87cbdb93d5411599a74df589b8f4
tree58dc58005e315df23b1a6b8d6743578ba82e5c03
parent1b25c273904690db371d0db0ed4f943a7ebbf3c3
wlcore: main: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220412091742.2533527-1-chi.minghao@zte.com.cn
drivers/net/wireless/ti/wlcore/main.c