mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
net: stmmac: wol register clear
clear the wol register by reading it. Change-Id: I4b127b569c6278680f9d8dc16b4e4c3e367c1c98 Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com> Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
This commit is contained in:
parent
9ee349d108
commit
c3d8f28033
1 changed files with 7 additions and 0 deletions
|
|
@ -757,6 +757,13 @@ static void ethqos_handle_phy_interrupt(struct qcom_ethqos *ethqos)
|
|||
ETHQOSDBG("MICREL PHY Intr EN Reg (%#x) = %#x\n",
|
||||
DWC_ETH_QOS_MICREL_PHY_INTCS, micrel_intr_status);
|
||||
|
||||
/**
|
||||
* Call ack interrupt to clear the WOL
|
||||
* interrupt status fields
|
||||
*/
|
||||
if (priv->phydev->drv->ack_interrupt)
|
||||
priv->phydev->drv->ack_interrupt(priv->phydev);
|
||||
|
||||
/* Interrupt received for link state change */
|
||||
if (phy_intr_status & LINK_STATE_MASK) {
|
||||
if (micrel_intr_status & MICREL_LINK_UP_INTR_STATUS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue