From patchwork Mon Jan 29 00:55:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 767789 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2127.outbound.protection.outlook.com [40.107.114.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79E034437; Mon, 29 Jan 2024 00:55:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.127 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706489731; cv=fail; b=KQyxhbOLSLn/8fd1o8yvDd6Aq9BVInkLpOtXUYgFCKMQc7n+4EaT3NbIYTBtD7ladimzTcavlSTcKMdpNCthnVcm11e3/tPRd0nUDJeUDklonHrNcAfafnqdE3u15xIsYLrBayFm4Bkat7BYbhN5TgygvKdCGq7/o4sy7XACeUY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706489731; c=relaxed/simple; bh=V3wysxgtpraf1FD3rzXyb67aBJ+ub2E5Q1LB48ROvSg=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=nNwnBhuUXKgit3uEwBb89NWZBnrKrdXwQ30MpkS/h/zFJAFyezjpl/1PpQpejyCAnuGQyGsH3CXKEjERN09AKezulQs0AnVpag9utioOxpiI2LikQ6zqB6fHNLe651gPu6loIMf7FwcdVdWtlVKIH/LkiRkSADBd+ATkWN8a4Cg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=MXB64GV0; arc=fail smtp.client-ip=40.107.114.127 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="MXB64GV0" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kTS0SLF2SrbpwgyOdScIBms5VmlRHyMcFNeSNBudL1pHq0GTYNmresWe1SJZxvJpMXQRyrZsccf+hlOfHICNQj+olXsteRO+U5GMNLR6ZSpYnJasplxLjgAtKL9GOuXECBX3SYMyauJ9pyeJJo6RuppM0VMy8gggXmt4/ERkZBCrDBdGvcZOXgluleXhyS0iEEIUnV1mWPYwvIvYWbrWWuvxhQmU5YwYuAftVBmFpouRqpz/cOfxOHe4k/QCzLN5k18oPs4TlIyhvpyI11b54Uoz8XC29qVSW1fi6MEtarIEdIZOk3LU+rNvqgiPK5KNhxGom79icC5lpdB7Tw53bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h+zbHtJG2JPjss3ic5YyQJsUH4T3jOKFdArXm1iaN5c=; b=hQ+HSqdv2MTDSwbbck2HwgbuOHbuL5XgFG8GYQXnWV5syYTkAH22VOC5nxhCCcPMmepC5D6w1p4HIsoUZ9A0kXdHyu355yAcAhujvmOaEwz1+7IjcF7HDM7FG4bwJj+64A2J77IlWEdpSTVHS5XFF6qU/8/1GEaCS/QJgnM2oR16nYdsRoLUZolzePj74WjY1GdgkS0lZjT89Nt0jQfMyByznADTYrFERyKxG4xet24eW9f8tnNCukJ3qTIFr1yV+OTigFFnBG4R2fw8WcSwpQIs8iOuITAhEilbImPbTEYPmv1pDLHJoHbkEhf2ydNtfARDsE4J8q7a29glQhIxCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h+zbHtJG2JPjss3ic5YyQJsUH4T3jOKFdArXm1iaN5c=; b=MXB64GV0EfTyDgnpl7ixQu2v9Pqoo/urHMV2LtpmVSdv4caURlees8xypsiZmCEzRNUx5u1uaSUorOG4QOXpA20vuZrOknWj4mmJu3dt9acnusG86WfRpCTiFduvAoTxhYi+K7+aHP87XkBtOMCrEocb2bWChbTNRVvDGNxmCoI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TYAPR01MB5996.jpnprd01.prod.outlook.com (2603:1096:402:34::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.20; Mon, 29 Jan 2024 00:55:27 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4%2]) with mapi id 15.20.7249.017; Mon, 29 Jan 2024 00:55:27 +0000 Message-ID: <874jexklfl.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v2 08/13] ASoC: audio-graph-card2: use of_graph_get_next_endpoint_raw() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 To: =?iso-8859-1?q?=22Uwe_Kleine-K=C3=B6nig=22?= , Daniel Vetter , David Airlie , Frank Rowand , Helge Deller , Jaroslav Kysela , Laurent Pinchart , Liam Girdwood , Maarten Lankhorst , Mark Brown , Mauro Carvalho Chehab , Maxime Ripard , Michal Simek , Rob Herring , Saravana Kannan , Takashi Iwai , Thomas Zimmermann , Tomi Valkeinen Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <87fryhklhb.wl-kuninori.morimoto.gx@renesas.com> References: <87fryhklhb.wl-kuninori.morimoto.gx@renesas.com> Date: Mon, 29 Jan 2024 00:55:26 +0000 X-ClientProxiedBy: TYCP286CA0222.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c5::9) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYAPR01MB5996:EE_ X-MS-Office365-Filtering-Correlation-Id: daed1450-303c-4a67-b01a-08dc2064fbac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NeUuqYWMACGKgzfnvIS+I52nnnPv3lHjEnwZxrenaDDvCv5hdR5DYNQqScK5e4V43kFPEu8CapgdDCVMDdSskKQ3gwKYFHM84UxJ9VdhpZwoE8LzN5QqH57GRr7qfPk6OBifWAu6W49HYAipv+QS89G69Fc774Pw9QkjaQiM+wY9XWvDd4buUXfi8U5PIPI+6UUSALujbcBYH7dAhr8Oo0yelxsrrQssyapXBULhU37VWDg/FjWY2GAZ/gGdjKcU6Qi7fY/qFF2rgD2+AfCoJmOb9dsp8cBAKcfWSp6S1RH3TYXcgX0r+AOYll/3BX5SrZc05y71dtwkA0mFYxJ6crPz8qinSpS45CSfxW6495v0DQnDKE6XwNUB36GA7K842vDgdOnYRCE6E+/OM4fwwka8DtrYMXo2rxklpSXZNG9Q3Bd0jo/EJXn1GZ/THVo5QKhOZI9vFZeeOOiZaIlJ9dTAfrJymF+smonEreLoASuFoUjHwu+NGQyOC0vpTB3TZoaJ3OGwpKFJfiS6qTeUsio1rtkYKWT73MU0luEPSqara2ieU6f9QJVvNJSqeikWqBi2pWItzqO7OL+nzxZZcTpjAHo/tlKjT+nJAnvc04SNyLDQMgOGOxJ+8ang6KZI8p6xLSEqyDoGDpfKvOR8gaSxgHDXmFHA5C1nhEi925w= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYCPR01MB10914.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(346002)(396003)(39860400002)(376002)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(83380400001)(6512007)(7416002)(6486002)(5660300002)(2616005)(6506007)(52116002)(478600001)(26005)(38100700002)(4326008)(8936002)(8676002)(41300700001)(4744005)(38350700005)(36756003)(86362001)(2906002)(66946007)(316002)(921011)(66556008)(110136005)(66476007)(2013699003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AmNgNgY9xyd66eQVLYxxwFEK0X8bHAXs5uJGPMIgoUGJFeX7y3h8QclFa9sL+AxXLCQfhinG877kgzYh3QjPW34B76qcuyLQdz0F8RwRfiPe4PFXg6z/VswvGMrZiNys7l1jKCXyPa/0ec54BiLHUrx0EOvlO7D/gUvsKp1GoCbNbXxop/v4C/CYlFmTLKy7Ndi/uJpAqzQSQJ2da+Zt+VHXvuf2F33Sxu3c1v/iHxrl/c7gRwt855PyH1eLQ2EzJZalWbx3dJCExfScZS9uUVn8T0wXcQkKZ9Fe/Qrj8KZCaa6boLxmYsJce8O6d+wx8KSBqN34Dz60MpQ/D+XRLEMQEUg4pHN0lSFYLmlS7aPjwBfri+h7cn4cOwLpmQhYQrs+BNPwiDytKyfp/sJsa1YqO24+R4rrOvzVt8D4xE1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4v8Z678Ml0LT3kFeqnxefOFRuyHCxr18CD1j3fqLMdrS+nbx0TBBoKz2SkvUUW7XKd6HeeNQtTCz7iGvkrBZ/wM5C7GQ6qVu4Q0IZRwIb4uTZEbG7/dkXJgWVyJNNAO1Jhabm9gdbt978cKqXPs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: daed1450-303c-4a67-b01a-08dc2064fbac X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2024 00:55:27.2256 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MlAMKcG/Z6mTbCQUY8UFhUuycVNQjygxLO2otHQ8bRzJiDmOtI6MH0HuUCIUN2D/jQ8GmD7IDRy4tv7EsMR/sH+JbvSLjU88AAapE5AYUw9UmbU2jNCwXIxETFmex2hK X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB5996 We can now use of_graph_get_next_endpoint_raw(), let's use it. Signed-off-by: Kuninori Morimoto --- sound/soc/generic/audio-graph-card2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c index 59a5db12bb5c..d616a82f05b6 100644 --- a/sound/soc/generic/audio-graph-card2.c +++ b/sound/soc/generic/audio-graph-card2.c @@ -555,7 +555,7 @@ static int graph_parse_node_multi_nm(struct snd_soc_dai_link *dai_link, if (*nm_idx > nm_max) break; - mcpu_ep_n = of_get_next_child(mcpu_port, mcpu_ep_n); + mcpu_ep_n = of_graph_get_next_endpoint_raw(mcpu_port, mcpu_ep_n); if (!mcpu_ep_n) { ret = 0; break;