linux/drivers/net/ethernet/cadence
Alexandre Belloni caffd45e2e net/at91_ether: prepare and unprepare clock
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@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-12 15:35:47 -05:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00
at91_ether.c net/at91_ether: prepare and unprepare clock 2015-01-12 15:35:47 -05:00
macb.c net/macb: remove useless calls of devm_free_irq() 2014-12-15 11:50:45 -05:00
macb.h net/macb: add TX multiqueue support for gem 2014-12-12 15:17:25 -05:00