Home
last modified time | relevance | path

Searched hist:"17 a8f868ae3e85a173843b1ac65e744e8585bc5a" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dpm_opp.hdiff 17a8f868ae3e85a173843b1ac65e744e8585bc5a Mon Jul 08 00:54:56 CDT 2019 Viresh Kumar <viresh.kumar@linaro.org> opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()

The cpufreq drivers don't need to do runtime PM operations on the
virtual devices returned by dev_pm_domain_attach_by_name() and so the
virtual devices weren't shared with the callers of
dev_pm_opp_attach_genpd() earlier.

But the IO device drivers would want to do that. This patch updates the
prototype of dev_pm_opp_attach_genpd() to accept another argument to
return the pointer to the array of genpd virtual devices.

Reported-by: Rajendra Nayak <rnayak@codeaurora.org>
Tested-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
/openbmc/linux/drivers/opp/
H A Dcore.cdiff 17a8f868ae3e85a173843b1ac65e744e8585bc5a Mon Jul 08 00:54:56 CDT 2019 Viresh Kumar <viresh.kumar@linaro.org> opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()

The cpufreq drivers don't need to do runtime PM operations on the
virtual devices returned by dev_pm_domain_attach_by_name() and so the
virtual devices weren't shared with the callers of
dev_pm_opp_attach_genpd() earlier.

But the IO device drivers would want to do that. This patch updates the
prototype of dev_pm_opp_attach_genpd() to accept another argument to
return the pointer to the array of genpd virtual devices.

Reported-by: Rajendra Nayak <rnayak@codeaurora.org>
Tested-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>