From: Alexandre Belloni Date: Tue, 28 Jul 2015 19:51:10 +0000 (+0200) Subject: rtc: at91sam9: get sclk rate after enabling it X-Git-Tag: omap-for-v4.3/fixes-rc1~63^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8918bd8a5f6c37963ba04ae79ad6488108894ab9;p=pandora-kernel.git 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 Acked-by: Boris Brezillon Acked-by: Nicolas Ferre --- Reading git-diff-tree failed