]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: main: warn when the main crystal frequency is not set
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 1 Jul 2014 14:12:12 +0000 (16:12 +0200)
committerMike Turquette <mturquette@linaro.org>
Wed, 2 Jul 2014 16:00:52 +0000 (09:00 -0700)
commit1ea148fd476bedd278cd308687f48fe034d1a881
tree39494b773c40c1f0395e11d69d851103e40bb9fc
parentbccb7e32e2b1854a14dcfb761e3a7a345fde8c44
clk: at91: main: warn when the main crystal frequency is not set

When the main crystal frequency is not set, the main clock is approximated using
the MAINF value in the CKGR_MCFR register. Warn the user in that case.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris BREZILLON <boris.brezillon@overkiz.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/at91/clk-main.c