[PATCH] net/at91_ether: prepare and unprepare clock
davem at davemloft.net
Mon Jan 12 12:35:59 PST 2015
From: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date: Wed, 7 Jan 2015 23:59:26 +0100
> The clock is enabled without being prepared, this leads to:
> WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:889 __clk_enable+0x24/0xa8()
> and a non working ethernet interface.
> Use clk_prepare_enable() and clk_disable_unprepare() to handle the clock.
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
More information about the linux-arm-kernel