linux_old1/drivers/net/ethernet/freescale
Stefan Agner e9647d1e74 net: fec: fix unbalanced clk disable on driver unbind
When the driver is removed (e.g. using unbind through sysfs), the
clocks get disabled twice, once on fec_enet_close and once on
fec_drv_remove. Since the clocks are enabled only once, this leads
to a warning:

WARNING: CPU: 0 PID: 402 at drivers/clk/clk.c:992 clk_core_disable+0x64/0x68()

Remove the call to fec_enet_clk_enable in fec_drv_remove to balance
the clock enable/disable calls again. This has been introduce by
e8fcfcd568 ("net: fec: optimize the clock management to save power").

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-05 22:23:33 -05:00
..
fs_enet net: fs_enet: Implement NETIF_F_SG feature 2015-02-04 13:13:04 -08:00
Kconfig net/fsl: Add mEMAC MDIO support to XGMAC MDIO 2015-01-06 17:18:26 -05:00
Makefile gianfar: Remove sysfs stubs for FIFOCFG and stashing 2014-02-18 15:03:02 -05:00
fec.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-01-15 00:53:17 -05:00
fec_main.c net: fec: fix unbalanced clk disable on driver unbind 2015-03-05 22:23:33 -05:00
fec_mpc52xx.c net: ethernet: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:07 +02:00
fec_mpc52xx.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
fec_mpc52xx_phy.c net: fec_mpc52xx_phy: remove unnecessary dev_set_drvdata() 2013-08-21 12:27:04 -07:00
fec_ptp.c net: fec: convert to timecounter adjtime. 2014-12-30 18:29:26 -05:00
fsl_pq_mdio.c net: ethernet: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:07 +02:00
gianfar.c net: gianfar: correctly determine the number of queue groups 2015-03-05 22:18:32 -05:00
gianfar.h net: gianfar: add missing __iomem annotation 2014-12-30 18:54:15 -05:00
gianfar_ethtool.c gianfar: correct the bad expression while writing bit-pattern 2015-02-04 13:55:24 -08:00
gianfar_ptp.c net: ethernet: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:07 +02:00
ucc_geth.c net: ethernet: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:07 +02:00
ucc_geth.h net: remove skb recycling 2012-10-07 00:40:54 -04:00
ucc_geth_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
xgmac_mdio.c net/fsl: Replace spin_event_timeout() with arch independent in xgmac_mdio 2015-01-25 23:36:06 -08:00