Re: [PATCH] net: fec: fix unbalanced clk disable on driver unbind

2015-03-05 Thread David Miller
From: Stefan Agner Date: Thu, 5 Mar 2015 15:09:29 +0100 > 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

RE: [PATCH] net: fec: fix unbalanced clk disable on driver unbind

2015-03-05 Thread fugang.d...@freescale.com
From: Stefan Agner Sent: Thursday, March 05, 2015 10:09 PM > To: da...@davemloft.net > Cc: Duan Fugang-B38611; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; ste...@agner.ch > Subject: [PATCH] net: fec: fix unbalanced clk disable on driver unbind > > When the driver is removed (e.g.

RE: [PATCH] net: fec: fix unbalanced clk disable on driver unbind

2015-03-05 Thread fugang.d...@freescale.com
From: Stefan Agner ste...@agner.ch Sent: Thursday, March 05, 2015 10:09 PM To: da...@davemloft.net Cc: Duan Fugang-B38611; net...@vger.kernel.org; linux- ker...@vger.kernel.org; ste...@agner.ch Subject: [PATCH] net: fec: fix unbalanced clk disable on driver unbind When the driver is removed

Re: [PATCH] net: fec: fix unbalanced clk disable on driver unbind

2015-03-05 Thread David Miller
From: Stefan Agner ste...@agner.ch Date: Thu, 5 Mar 2015 15:09:29 +0100 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: