]> git.baikalelectronics.ru Git - kernel.git/commit
clk: shmobile: rcar-gen2: Fix qspi divisor
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 7 Jan 2014 16:47:53 +0000 (17:47 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 19 Feb 2014 05:41:03 +0000 (21:41 -0800)
commitc3787e02d5cbb3e07a9f8e20ac4cf5446d257078
tree81968568188367467a70de0f3bbe9b9a49b9a3a0
parent439c6387fbf30e20efc34366b9070fcdf7ad683a
clk: shmobile: rcar-gen2: Fix qspi divisor

The qspi clock divisor is incorrectly set to twice the value it should
have, possibly because it has been computed based on PLL1 as the clock
parent instead of PLL1 / 2 (the datasheets specifies the qspi nominal
frequencies, not the divisor values). Fix it.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/shmobile/clk-rcar-gen2.c