Thread (15 messages) 15 messages, 4 authors, 2015-12-14
STALE3876d

Re: [PATCH v2] cpufreq: mt8173: move resources allocation into ->probe()

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2015-12-07 16:03:57
Also in: linux-arm-kernel, linux-pm

On 07-12-15, 20:42, Pi-Cheng Chen wrote:
quoted
quoted
        ret = dev_pm_opp_init_cpufreq_table(info->cpu_dev, &freq_table);
Hmm. Does this change at init() time?  Or can we move this to probe(), too?
It doesn't change at init() time for MT8173 since we don't add OPP
dynamically and I don't see any problem to move it. I will move it to probe().
No. None of this belongs to probe(), we do it there just to handle the
EPROBE_DEFER thing. Please don't move anything that isn't required to
be.

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help