Re: [PATCH 5/5] ARM: OMAP: remove unnecessary locking in clk_get_rate()

Paul Walmsley
2008-06-05T01:54:08Z

Hello,

On Thu, 5 Jun 2008, Igor Stoppa wrote:

> - if a dvfs change is responsible of changing the rate supplied to a
> driver which asked it with clk_get_rate(), the dvfs transition has no
> reason to happen in case it would violate the constraints set by clock
> users.

There aren't any such constraints in the current tree.

clk_set_rate() is mostly only useful for code that doesn't expect the
clock rate to be changed by other code. Pre- and post-clk-rate-change
notifiers should fix this for code that does need to know clock rates
precisely.

- Paul