net: bcmgenet: remove HFB_CTRL access
authorDoug Berger <opendmb@gmail.com>
Tue, 20 Nov 2018 23:17:01 +0000 (15:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Nov 2018 19:10:25 +0000 (11:10 -0800)
Commit c5a54bbcecec ("net: bcmgenet: abort suspend on error")
mistakenly introduced register accesses that should not occur
in bcmgenet_wol_power_up_cfg().

Fixes: c5a54bbcecec ("net: bcmgenet: abort suspend on error")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c

index b3596e0ee47baed3993d3788acf495ed2d4c1321..57582efa362df759be0de36b11751fef6a14fb37 100644 (file)
@@ -191,10 +191,6 @@ void bcmgenet_wol_power_up_cfg(struct bcmgenet_priv *priv,
        reg &= ~MPD_EN;
        bcmgenet_umac_writel(priv, reg, UMAC_MPD_CTRL);
 
-       reg = bcmgenet_hfb_reg_readl(priv, HFB_CTRL);
-       reg &= ~(RBUF_HFB_EN | RBUF_ACPI_EN);
-       bcmgenet_hfb_reg_writel(priv, reg, HFB_CTRL);
-
        /* Disable CRC Forward */
        reg = bcmgenet_umac_readl(priv, UMAC_CMD);
        reg &= ~CMD_CRC_FWD;