Thread (19 messages) 19 messages, 3 authors, 2021-08-11

Re: [PATCH 0/8] cpufreq: Auto-register with energy model

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2021-08-11 10:15:02
Also in: linux-arm-kernel, linux-arm-msm, linux-mediatek, linux-pm, lkml

On 11-08-21, 11:12, Quentin Perret wrote:
I think using the ready() callback can work just fine as long as we
document clearly it is important to register the EM from there and not
anywhere else. The dedicated em_register() callback makes that a bit
clearer and should avoid a bit of boilerplate in the driver, but it's
not a big deal really, so I'm happy either way ;)
Yeah, I think just the same. It is better to have register_em as a
separate call. I was just wondering if it is the right choice :)

Anyway, I think ready() will get removed pretty soon, so register_em()
will work well. I will redo this series and send it.

-- 
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