]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks
authorFlorian Vaussard <florian.vaussard@epfl.ch>
Wed, 26 Feb 2014 10:38:08 +0000 (11:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 May 2014 14:59:21 +0000 (07:59 -0700)
commit1722226dab5a1874b368ecb12cdcdf429e85e08f
tree218c0cb5adebd27b0f0833d03d90ed4d4fdb6f63
parent2aead66d9afe226f2af1a1db4c8152549a4f0411
CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks

commit 8559087f0e9722a95df43fa5968bd1ee42bcf540 upstream.

When arch/arm/mach-omap2/gpmc.c calls clk_get(..., "fck"), it will
get a dummy clock and try to use it. As the rate is configured to zero,
this will result in several divisions by zero, and misconfigured
timings, with devices on the bus being lost in the La La Land.

It is better to remove gpmc_fck from the dummy clocks, so that gpmc.c
can fail gracefully.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/ti/clk-44xx.c
drivers/clk/ti/clk-54xx.c
drivers/clk/ti/clk-7xx.c