Re: [PATCH 3/3] clk: qcom: Add QCS404 TuringCC

From: Stephen Boyd
Date: Thu Apr 11 2019 - 16:36:49 EST


Quoting Bjorn Andersson (2019-03-06 09:47:58)
> +
> +static int turingcc_probe(struct platform_device *pdev)
> +{
> + int ret;
> +
> + pm_runtime_enable(&pdev->dev);
> + ret = pm_clk_create(&pdev->dev);

Neat solution. Thanks!

> + if (ret)
> + goto disable_pm_runtime;
> +
> + ret = pm_clk_add(&pdev->dev, NULL);