From nobody Tue Jun 23 10:12:33 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14808C433F5 for ; Mon, 7 Mar 2022 20:41:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236812AbiCGUm1 (ORCPT ); Mon, 7 Mar 2022 15:42:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232105AbiCGUmZ (ORCPT ); Mon, 7 Mar 2022 15:42:25 -0500 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EFF87CDE5 for ; Mon, 7 Mar 2022 12:41:30 -0800 (PST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3186C20021F; Mon, 7 Mar 2022 21:41:29 +0100 (CET) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EE2ED202391; Mon, 7 Mar 2022 21:41:28 +0100 (CET) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.142]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 599E540591; Mon, 7 Mar 2022 13:41:28 -0700 (MST) From: Li Yang To: Krzysztof Kozlowski Cc: Li Yang , linux-kernel@vger.kernel.org Subject: [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices Date: Mon, 7 Mar 2022 14:41:18 -0600 Message-Id: <20220307204118.19093-1-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Commit 98f1323959b8 was trying to replace the "simple-bus" compatible with explicit bus populate in the driver. But of_platform_populate() only populates child nodes of ifc without populating child buses and child mfd devices residing under ifc. Change it to of_platform_default_populate() to fix the problem. Fixes: 98f1323959b8 ("memory: fsl_ifc: populate child devices without relyi= ng on simple-bus") Signed-off-by: Li Yang --- drivers/memory/fsl_ifc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c index 6e6de52bb82d..1604de863d41 100644 --- a/drivers/memory/fsl_ifc.c +++ b/drivers/memory/fsl_ifc.c @@ -290,8 +290,7 @@ static int fsl_ifc_ctrl_probe(struct platform_device *d= ev) } =20 /* legacy dts may still use "simple-bus" compatible */ - ret =3D of_platform_populate(dev->dev.of_node, NULL, NULL, - &dev->dev); + ret =3D of_platform_default_populate(dev->dev.of_node, NULL, &dev->dev); if (ret) goto err_free_nandirq; =20 --=20 2.25.1