MLK-14736 net: fec: move the ahb clock to runtime pm
authorFugang Duan <fugang.duan@nxp.com>
Fri, 12 May 2017 03:12:59 +0000 (11:12 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:16 +0000 (15:22 -0500)
commit464645352b5798e97640e8d508a360228fe23592
tree289a223923a36ece9839e5cce485173e97af5421
parenta719f74d8f50b795e7e601d207765330e50fa0a9
MLK-14736 net: fec: move the ahb clock to runtime pm

Some SOC clock have some limits:
- ahb clock should be disabled before ipg.
- ahb and ipg clocks are required for MAC mii to work.
So, move the ahb clock to runtime pm together with ipg clock.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c