]> 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)
commitd91e123c3c0b03f16873b168540782dd800b6327
tree39494b773c40c1f0395e11d69d851103e40bb9fc
parent2d3ec33a86c29eaff8dde5fe62e258b56491cb95
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