net: phy: bcm7xxx: fix spurious MDIO failures during workaround
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 24 Mar 2014 23:36:48 +0000 (16:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 20:19:24 +0000 (16:19 -0400)
Writing first to the AFE registers, and then the VCO, RCAL, RC_CAL
registers turned out to unveil some spurious MDIO read/write failures
which would make the workaround partially applied. The fix is to write
first to the VCO, RCAL, RC_CAL registers, and then write to the AFE
registers.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found