Messages in this thread | | | From | Mike Turquette <> | Subject | Re: [PATCH v9 2/3] clk: RK808: Add clkout driver for RK808 | Date | Thu, 04 Sep 2014 18:35:13 -0700 |
| |
Quoting Chris Zhong (2014-09-03 18:12:38) > +static int rk808_clkout1_is_prepared(struct clk_hw *hw) > +{ > + return 1; > +} > +
<snip>
> +static const struct clk_ops rk808_clkout1_ops = { > + .is_prepared = rk808_clkout1_is_prepared, > + .recalc_rate = rk808_clkout_recalc_rate, > +};
Hi Chris,
I do not see a need clkout1 to have a .is_prepared callback. You should be fine only having a .recalc_rate.
Regards, Mike
| |