soc: ti: knav_dma: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 08:29:23 +0000 (08:29 +0000)
committerNishanth Menon <nm@ti.com>
Fri, 15 Apr 2022 20:04:53 +0000 (15:04 -0500)
commitd3e3116f253591a473873fab8363ecb998ddde13
tree042115b5a59e78d720da13b9032a4b1cdd2dc22f
parenta6af504184c981efd253f986e6fc54db57b1d39f
soc: ti: knav_dma: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifying 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: Grygorii Strashko <grygorii.strashko@ti.com>
Link: https://lore.kernel.org/r/20220412082923.2532649-1-chi.minghao@zte.com.cn
drivers/soc/ti/knav_dma.c