Re: [PATCH v9 5/8] soc/tegra: pmc: Implement get_performance_state() callback

Viresh Kumar
2021-08-27T03:06:05Z

On 27-08-21, 04:34, Dmitry Osipenko wrote:
> + clk_opp_table = dev_pm_opp_set_clkname(dev, NULL);
> + if (IS_ERR(clk_opp_table)) {
> + dev_err(dev, "failed to set OPP clk: %pe\n", clk_opp_table);
> + ret = PTR_ERR(clk_opp_table);
> + goto put_hw;
> + }

Why do you need to do it ? OPP core already does this automatically.

--
viresh