Re: [PATCH 1/2] rtc: mxc: add a second clock

From: Alexandre Belloni
Date: Thu Jun 04 2015 - 18:18:05 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/