OSDN Git Service

soc: ti: pruss: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 8 Apr 2022 08:08:53 +0000 (08:08 +0000)
committerNishanth Menon <nm@ti.com>
Mon, 11 Apr 2022 13:46:09 +0000 (08:46 -0500)
commitf25d2b2b554133b935e72c61deb40d82287a6f75
treec8e3b4572bb6adfdf235a022be9016cb84ef0708
parentd281a982c2693c6a7bffaa1ae1ff3b400d6e6c74
soc: ti: pruss: using 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: Nishanth Menon <nm@ti.com>
Reviewed-by: Dave Gerlach <d-gerlach@ti.com>
Link: https://lore.kernel.org/r/20220408080853.2494292-1-chi.minghao@zte.com.cn
drivers/soc/ti/pruss.c