]> git.baikalelectronics.ru Git - kernel.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)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Mar 2014 20:41:50 +0000 (13:41 -0700)
commit566d4ef8fac1abcff94111cf526310c1b8bc27fa
tree82de2aad81e677df258600e79411a7cc064a3195
parentb483e378462e542e20cd960b1d0f27d542414a93
CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks

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.

Cc: stable@vger.kernel.org # v3.14+
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>
drivers/clk/ti/clk-44xx.c
drivers/clk/ti/clk-54xx.c
drivers/clk/ti/clk-7xx.c