From patchwork Mon Sep 26 12:43:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 12988669 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7AF92C32771 for ; Mon, 26 Sep 2022 12:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Y07QwKtNqqtTMO3ZBVD3U5atQXMXAEd6B+UzlHVPq7M=; b=zUOYTtTPhtDgjC cbZBhX/dip4D8fJSv2xiOP3E5MkVOEneeB+ZGptd6BwuG7iKGJT7/t1bhZtVvIlGMxrMdYO6SVSTY 7idA6GyUA4DRiQeoqtbPRgwA5a9pJhAMB4sZGsBkKb0ZtS/nUgotym4Dp/FUVaA4+DxykmeGrAr8C 97dsosBww7fXTfA6X+jTGyGJKKxqch1A8V/W4HdmxwugkfQg6Qo5tqNcg0rpLhvV6SCaPVggORpfX l36uV174O8oQGOeqdMotmM/So7eAfckdLBaZ5ep/LSvzaL0Nw2+ETHEt5VtfON/wjAxEbkK9yuM9R S+odhTIlvm//F2mLQTAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocnTN-004uso-Dk; Mon, 26 Sep 2022 12:44:33 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocnTK-004uhs-E7 for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 12:44:32 +0000 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28QCTkkH003043; Mon, 26 Sep 2022 14:44:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=NcxmZqB476BNQQv7ckeLKtwAuOIYz7JSs+NWFIFH+fo=; b=N5cxXb86vI2+/qhfxBAnEPFEauhPJZKBY90D7NIbkVqnwOqDIuYenaD5yZU58G5K5aOg igY/ce17mwc4IFgM0UWYdFPJA+fq7exqkXm7RWLXrSoX0ghRbaUr9oogW+lpCbpSDXbJ D2F4kWePvPhDC+DkXQeYck0IK/6StstXDzzq6Y1+olmQjbMip4vkPRW7FqA055mO7Mcf nnLomLor8Mm7+m85MLHhzP/lS6UJpxvrcQhLYKK5DProyFZPLeMb/cFNRfrYL2sDTMt7 tOIgboSX1XclZ1G+zQ3eCKz8Q8OW+8SWKvs6ZCNasU0sJ2sx83pwXp2XnGGVW/COY1K7 Hg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jsqam31uh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 14:44:12 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5911F10002A; Mon, 26 Sep 2022 14:44:10 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 12E1F22A6C5; Mon, 26 Sep 2022 14:44:10 +0200 (CEST) Received: from localhost (10.75.127.119) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Mon, 26 Sep 2022 14:44:09 +0200 From: To: Felipe Balbi , Greg Kroah-Hartman , Krzysztof Kozlowski , "Serge Semin" , , , CC: , Jerome Audu Subject: [PATCH] usb: dwc3: st: Fix node's child name Date: Mon, 26 Sep 2022 14:43:59 +0200 Message-ID: <20220926124359.304770-1-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.119] X-ClientProxiedBy: GPXDAG2NODE4.st.com (10.75.127.68) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-26_08,2022-09-22_02,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_054430_929125_944765AE X-CRM114-Status: GOOD ( 16.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Patrice Chotard Update node's child name from "dwc3" to "usb", this fixes the following issue: [3.773852] usb-st-dwc3 8f94000.dwc3: failed to find dwc3 core node Fixes: 3120910a099b ("ARM: dts: stih407-family: Harmonize DWC USB3 DT nodes name") Reported-by: Jerome Audu Signed-off-by: Patrice Chotard --- drivers/usb/dwc3/dwc3-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c index 166b5bde45cb..6c14a79279f9 100644 --- a/drivers/usb/dwc3/dwc3-st.c +++ b/drivers/usb/dwc3/dwc3-st.c @@ -251,7 +251,7 @@ static int st_dwc3_probe(struct platform_device *pdev) /* Manage SoftReset */ reset_control_deassert(dwc3_data->rstc_rst); - child = of_get_child_by_name(node, "dwc3"); + child = of_get_child_by_name(node, "usb"); if (!child) { dev_err(&pdev->dev, "failed to find dwc3 core node\n"); ret = -ENODEV;