fec: Do not enable/disable optional clocks unconditionally
commit9514fe7a2352e35ff571467afba24ab904a1befe
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 21 Jul 2013 16:24:59 +0000 (21 13:24 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jul 2013 23:50:31 +0000 (22 16:50 -0700)
treed05b846b6f2bfaa70fc81bcee563b946fc5369c2
parenteda297729171fe16bf34fe5b0419dfb69060f623
fec: Do not enable/disable optional clocks unconditionally

clk_enet_out and clk_ptp are optional clocks, so we should not enable/disable
them unconditionally.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c