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)
commit4da66b631f6bee2dfdb77b571418f11016a7ba68
tree39494b773c40c1f0395e11d69d851103e40bb9fc
parent942d1d674931250e81af2aa124549562a06a28c7
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