]> 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 12:54:26 +0000 (13:54 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 24 Feb 2014 12:09:33 +0000 (13:09 +0100)
commit55e140d0147dfd9c67cf1210bf89d95b725a4d3e
treeca29020a1b9f36fa70b3171235d7932e37c69539
parent6f7cefd6d8e84273c09958039effc3fe2e9f2b54
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.

This bug introduced in v3.14-rc1 breaks various devices on the Lager and
Kolesh shmobile boards and should thus be considered as a regression for
which a fix during the -rc series is appropriate.

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