[PATCH 0/3] net: fec: Reset ethernet PHY whenever the enet_out clock

Lothar Waßmann
2015-11-30T11:32:45Z

This patchset fixes a regression introduced by
commit 8fff755e9f8d ("net: fec: Ensure clocks are enabled while using mdio bus")
for ethernet PHYs that are using ENET_OUT as reference clock (on i.MX6
or i.MX28)

The first patch is a cleanup patch that removes redundant NULL checks.
The second patch converts the driver to use the 'gpiod' framework.
The third patch makes sure, fec_reset_phy() is called whenever the
enet_out clock has been (re-)enabled to get the PHY into a
consistent state.