Messages in this thread | | | Date | Thu, 05 Mar 2015 22:24:00 -0500 (EST) | Subject | Re: [PATCH] net: fec: fix unbalanced clk disable on driver unbind | From | David Miller <> |
| |
From: Stefan Agner <stefan@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: 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 > e8fcfcd5684a ("net: fec: optimize the clock management to save power"). > > Signed-off-by: Stefan Agner <stefan@agner.ch>
Applied, thanks.
| |