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

From: Viresh Kumar
Date: Thu Aug 26 2021 - 23:06:05 EST


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