Name

clk_round_rate — adjust a rate to the exact rate a clock can provide

Synopsis

long clk_round_rate (struct clk *  clk,
 unsigned long  rate);

Arguments

clk

clock source

rate

desired clock rate in Hz

Description

Returns rounded clock rate in Hz, or negative errno.