After downloading an alternate scheduler topology, the HW needs to be
reinitialized. Since commit b47c1229d617 ("net/ice/base: improve global
config lock behavior"), a reinitialization is done in the topology
download code itself, so we need to remove the extra initialization from
the calling code.

Fixes: b47c1229d617 ("net/ice/base: improve global config lock behavior")
Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
---
 drivers/net/intel/ice/base/ice_ddp.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/intel/ice/base/ice_ddp.c 
b/drivers/net/intel/ice/base/ice_ddp.c
index 68e75be4d2..ae80d93656 100644
--- a/drivers/net/intel/ice/base/ice_ddp.c
+++ b/drivers/net/intel/ice/base/ice_ddp.c
@@ -1359,10 +1359,6 @@ enum ice_ddp_state ice_init_pkg(struct ice_hw *hw, u8 
*buf, u32 len, bool load_s
                                  res);
                        return ICE_DDP_PKG_ERR;
                }
-               ice_debug(hw, ICE_DBG_INIT,
-                         "Topology download successful, reinitializing 
device\n");
-               ice_deinit_hw(hw);
-               ice_init_hw(hw);
        }
 
        /* initialize package info */
-- 
2.51.0

Reply via email to