Re: [PATCH 1/3] media: rockchip: Introduce the rkvdec2 driver

Dmitry Osipenko
2024-06-15T22:32:06Z

On 6/15/24 04:56, Detlev Casanova wrote:
> + pm_runtime_set_autosuspend_delay(&pdev->dev, 100);
> + pm_runtime_use_autosuspend(&pdev->dev);
> + pm_runtime_enable(&pdev->dev);
> +
> + ret = clk_bulk_prepare_enable(ARRAY_SIZE(rkvdec2_clk_names), rkvdec->clocks);
> + if (ret) {
> + dev_err(&pdev->dev, "Could not start clocks\n");
> + return ret;
> + }

Remove this clk_bulk_prepare_enable(), clocks are enabled by runtime-resume.