commit | 69a60b0579a4bf63871dfcfaca44a4e20c7d05f8 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Mon Jul 31 12:04:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 31 14:40:58 2017 -0700 |
tree | 37a14f835157257dece61b2c05fb70ecebd65275 | |
parent | 834e0ecf8109ee92184b9616bdc3aca6fe934f38 [diff] |
net: phy: mdio-bcm-unimac: factor busy polling loop Factor the code that does the busy polling on the MDIO_BUSY bit since we will have different code-paths for for completion depending on whether we are using interrupts or polling. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>