clk_round_rate(9) 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.

COPYRIGHT