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)
commit8510e7263ad9399e771e0f67517a0d5409390445
tree81968568188367467a70de0f3bbe9b9a49b9a3a0
parent995a9190ac9ca85cc15d11d9566017e91c58a118
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