]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: manage ahb clock in runtime pm
authorAndy Duan <fugang.duan@nxp.com>
Tue, 9 Apr 2019 03:40:56 +0000 (03:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2019 20:53:28 +0000 (13:53 -0700)
commit789cff25d4917a61f557e263e366cc124d01453c
treec8551097fed59f707e47b87597fae71417b870b3
parentd4a8e8de543a40cafd4c52aaca1cce11852da9db
net: fec: manage ahb clock in runtime pm

Some SOC like i.MX6SX clock have some limits:
- ahb clock should be disabled before ipg.
- ahb and ipg clocks are required for MAC MII bus.
So, move the ahb clock to runtime management together with
ipg clock.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c