net: phy: bcm7xxx: properly clear AFE_RX_LP_COUNTER
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 24 Mar 2014 23:36:49 +0000 (16:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 20:19:24 +0000 (16:19 -0400)
commita62ea5a75fdd4c0052bdbacd1e653b00a9f88f6d
treee43a89355affefc56828825eabc337739f7f592c
parent9918542e2d02f259f909a956e41bd6d5827fa422
net: phy: bcm7xxx: properly clear AFE_RX_LP_COUNTER

The AFE_RX_LP_COUNTER kept the last 3 bits set, which would not properly
clear the EEE LPI mode errors bits. Make sure that those bits are set to
0 to ensure the PHY timing is always good even during EEE wake-up.

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