[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141103.145038.1224937667378001886.davem@davemloft.net>
Date: Mon, 03 Nov 2014 14:50:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: b38611@...escale.com
Cc: netdev@...r.kernel.org, festevam@...il.com
Subject: Re: [PATCH] net: fec: fix suspend broken on multiple MACs sillicons
From: Fugang Duan <b38611@...escale.com>
Date: Mon, 3 Nov 2014 13:26:50 +0800
> On i.MX6SX sdb platform, there has two same enet MACs, after system up,
> just eth0 is up, and then do suspend/resume test:
...
> The root cause is that eth1 is not opened and clock is not enabled, and .suspend() still
> call .fec_enet_clk_enable() to disable clock.
>
> To avoid the broken, let it check network device up status by calling .netif_running()
> before disable/enable clocks.
>
> Signed-off-by: Fugang Duan <B38611@...escale.com>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists