[PATCH v3 5/7] clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support

Mike Turquette mturquette at linaro.org
Tue May 13 17:51:19 PDT 2014


Quoting Boris BREZILLON (2014-05-09 04:11:49)
> +struct clk_ops ar100_ops = {
> +       .recalc_rate = ar100_recalc_rate,
> +       .determine_rate = ar100_determine_rate,
> +       .set_parent = ar100_set_parent,
> +       .get_parent = ar100_get_parent,
> +       .set_rate = ar100_set_rate,
> +};

I might be having a brain fart, but is there a valid case for having
both a .recalc_rate and a .determine_rate? I believe that the former
will never be used and the latter will always be used by the clock
framework core.

Regards,
Mike



More information about the linux-arm-kernel mailing list