From: Gagandeep Singh <[email protected]>

Remove an unintended early return in the LS1043 SoC version
check that was preventing device probing from completing
successfully on LS1043 platforms.

Fixes: 164e9e13e5 ("bus/dpaa: enhance SoC version")
Cc: [email protected]

Signed-off-by: Gagandeep Singh <[email protected]>
---
 drivers/bus/dpaa/dpaa_bus.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c
index ee467b94d5..0ed617c72f 100644
--- a/drivers/bus/dpaa/dpaa_bus.c
+++ b/drivers/bus/dpaa/dpaa_bus.c
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright 2017-2025 NXP
+ * Copyright 2017-2026 NXP
  *
  */
 /* System headers */
@@ -725,10 +725,8 @@ rte_dpaa_bus_scan(void)
        }
 
        /* Disabling the default push mode for LS1043A */
-       if (dpaa_bus.svr_ver == SVR_LS1043A_FAMILY) {
+       if (dpaa_bus.svr_ver == SVR_LS1043A_FAMILY)
                dpaa_bus.max_push_rxq_num = 0;
-               return 0;
-       }
 
        penv = getenv("DPAA_PUSH_QUEUES_NUMBER");
        if (penv)
-- 
2.43.0

Reply via email to