Thread (20 messages) 20 messages, 6 authors, 2020-08-27

Re: [PATCH 2/4] opp: Track device's resources configuration status

From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-08-15 22:12:52
Also in: lkml

Quoting Viresh Kumar (2020-08-12 21:28:59)
The OPP core needs to track if the resources of devices are enabled or
configured or not, as it disables the resources when target_freq is set
to 0.

Handle that with a separate variable to make it easy to maintain.

Also note that we will unconditionally call clk_set_rate() in the case
where the resources are getting enabled again. This shouldn't have any
side effects anyway.
Any reason to want to do that? We'll have to grab the prepare lock in
the clk framework to figure out that there's nothing to do sometimes. If
anything, a comment may help to indicate that we call clk_set_rate()
again, but don't expect it to matter much.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help