]> Git Repo - linux.git/commit
rtc: at91sam9: get sclk rate after enabling it
authorAlexandre Belloni <[email protected]>
Tue, 28 Jul 2015 19:51:10 +0000 (21:51 +0200)
committerAlexandre Belloni <[email protected]>
Sat, 5 Sep 2015 11:19:09 +0000 (13:19 +0200)
commit8918bd8a5f6c37963ba04ae79ad6488108894ab9
treee7cc11a4b231408623f5eaa925a3afdec221708c
parent6932ff5395e3a2541fba696b38dc71393cf7ce57
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 <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
drivers/rtc/rtc-at91sam9.c
This page took 0.051455 seconds and 4 git commands to generate.