[PATCH 1/2] rtc: mxc: add a second clock
Alexandre Belloni
alexandre.belloni at free-electrons.com
Thu Jun 4 15:17:56 PDT 2015
On 04/06/2015 at 23:08:03 +0200, Philippe Reynes wrote :
> >You are getting the rate but don't you need to clk_prepare_enable()?
>
> This IP needs the clock reference rate for his configuration,
> so I think that I only need the rate.
>
I think we need to check whether we are guaranteed to get a result from
get_rate even if the clock is not enabled.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the linux-arm-kernel
mailing list