OpenCloudOS-Kernel/drivers/clk/at91
Boris Brezillon dca1a4b5ff clk: at91: keep slow clk enabled to prevent system hang
All slow clk users are not properly claiming it (get + prepare + enable)
before using it.
If all users properly claiming this clock release it, the clock is
disabled, but faulty users still depends on it, and the system hangs.

This fix prevents the slow clock from being disabled, and should solve the
hanging issue, but offending drivers should be patched to properly claim
this clock.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Bo Shen <voice.shen@atmel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Turquette <mturquette@linaro.org>
2015-01-13 10:54:01 -08:00
..
Makefile clk: at91: add a driver for the h32mx clock 2014-09-22 11:38:59 +02:00
clk-h32mx.c clk: at91: add a driver for the h32mx clock 2014-09-22 11:38:59 +02:00
clk-main.c clk: at91: main: warn when the main crystal frequency is not set 2014-07-02 09:00:52 -07:00
clk-master.c clk:at91: Fix memory leak in of_at91_clk_master_setup() 2014-02-26 18:00:56 -08:00
clk-peripheral.c clk: at91: add PMC peripheral clocks 2013-12-02 15:31:24 +01:00
clk-pll.c clk: at91: fix recalc_rate implementation of PLL driver 2014-09-02 15:37:17 -07:00
clk-plldiv.c clk: at91: add PMC pll clocks 2013-12-02 15:31:22 +01:00
clk-programmable.c clk: Change clk_ops->determine_rate to return a clk_hw as the best parent 2014-12-03 16:21:37 -08:00
clk-slow.c clk: at91: keep slow clk enabled to prevent system hang 2015-01-13 10:54:01 -08:00
clk-smd.c clk: at91: add PMC smd clock 2013-12-02 15:31:25 +01:00
clk-system.c clk: at91: remove the useless CLK_IGNORE_UNUSED flag 2014-07-15 11:54:09 +02:00
clk-usb.c clk: at91: usb: fix at91sam9x5 recalc, round and set rate 2014-11-17 10:38:40 -08:00
clk-utmi.c clk: at91: add PMC utmi clock 2013-12-02 15:31:25 +01:00
pmc.c clk: at91: add a driver for the h32mx clock 2014-09-22 11:38:59 +02:00
pmc.h clk: at91: add a driver for the h32mx clock 2014-09-22 11:38:59 +02:00
sckc.c clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
sckc.h clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00