MLK-17400-01 net: fec: defer probe if regulator is not ready
authorFugang Duan <fugang.duan@nxp.com>
Tue, 2 Jan 2018 10:29:16 +0000 (18:29 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:53:12 +0000 (14:53 -0500)
commit8ebd7200578d42e881716b048a0426e52fbd7295
tree48555aeab86d3f17835f5e9517902584da4f293a
parent966d1a2e102c9feb2774bdd86692e57c87f9ab13
MLK-17400-01 net: fec: defer probe if regulator is not ready

Defer probe if regulator is not ready. E.g. some regulator is fixed
regulator controlled by i2c expander gpio, the i2c device may be probed
after the driver, then it should handle the case of defer probe error.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Acked-by: Gao Pan <pandy.gao@nxp.com>
drivers/net/ethernet/freescale/fec_main.c