From: Nimrod Andy Date: Tue, 20 May 2014 05:22:51 +0000 (+0800) Subject: net: fec: optimize the clock management to save power X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8fcfcd5684a;p=pandora-kernel.git net: fec: optimize the clock management to save power Add below clock management to save fec power: - After probe, disable all clocks incluing ipg, ahb, enet_out, ptp clock. - Open ethx interface enable necessary clocks. Close ethx interface disable all clocks. The patch also encapsulates the all enet clocks enable/disable to .fec_enet_clk_enable(), which can reduce the repetitional code in driver. Signed-off-by: Fugang Duan Acked-by: Frank Li Signed-off-by: David S. Miller --- Reading git-diff-tree failed