VPU_SUPPORT_CLOCK_CONTROL have clock gating scheme frame by frame. so, there is no clk requires to disable when remove. Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
@@ -1192,7 +1192,6 @@ static int vpu_remove(struct platform_device *pdev)
if (s_vpu_register.virt_addr)
iounmap((void *)s_vpu_register.virt_addr);
- vpu_clk_disable(s_vpu_clk);
vpu_clk_put(s_vpu_clk);
vpu_pmu_disable(&pdev->dev);