commit | 8918bd8a5f6c37963ba04ae79ad6488108894ab9 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Jul 28 21:51:10 2015 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Sat Sep 05 13:19:09 2015 +0200 |
tree | e7cc11a4b231408623f5eaa925a3afdec221708c | |
parent | 6932ff5395e3a2541fba696b38dc71393cf7ce57 [diff] |
rtc: at91sam9: get sclk rate after enabling it See help for clk_get_rate(): "obtain the current clock rate (in Hz) for a clock source. This is only valid once the clock source has been enabled." It currently returns the correct value but that may not stay that way. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>