![]() Most users of clk_get_rate() actually assume a non zero return value as a valid rate returned. Returing -EINVAL might confuse such users, so make it instead return zero on error. Besides the return value of clk_get_rate seems to be 'unsigned long'. Signed-off-by: Rajendra nayak <rnayak@ti.com> Signed-off-by: Mike Turquette <mturquette@linaro.org> |
||
---|---|---|
.. | ||
clk-divider.c | ||
clk-fixed-rate.c | ||
clk-gate.c | ||
clk-mux.c | ||
clk.c | ||
clkdev.c | ||
Kconfig | ||
Makefile |