Clock API and "maximum rate"
Jamie Iles
jamie at jamieiles.com
Wed Jan 11 11:58:44 EST 2012
Hi Matt,
On Wed, Jan 11, 2012 at 10:30:15AM -0600, Matt Sealey wrote:
> Just a curious question, is there any safe way in the current API or
> even by peeking a little behind the scenes to find out what the
> maximum clock rate would be for a given named clock or struct clk?
How about:
long max = clk_round_rate(clk, ~0LU);
clk_round_rate() is one of the optional API calls though.
Jamie
More information about the linux-arm-kernel
mailing list