]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fec: Remove irqs first
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 27 May 2013 03:48:32 +0000 (03:48 +0000)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:19 +0000 (09:54 +0800)
commitb248a05eb905aa847471ea46d0869c1271b4fb8e
tree5f733a8641457dd8da415d70eb9c9ed2fab87b5f
parente03cf139068d9fa66b57d4ec65a3f6971cf0bf6d
fec: Remove irqs first

During probe the clocks are enabled prior than the acquiring the interrupts.

In the remove function we need to do the opposite: first remove the interrupts
and then disable the clocks.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c