From patchwork Tue Jan 23 00:04:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13526568 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2119.outbound.protection.outlook.com [40.107.113.119]) (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 F33CB145322; Tue, 23 Jan 2024 00:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.119 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705968283; cv=fail; b=CaXYmUha3ItStQazvLUJWf+UnXBiDfenNpo8bX2fJr+uY6HiabPPWADbryRY0Poj68qN2ticsBFvaSCRGqEvxHFM5BCKCSQR+rvzizSP5BhT21MECVnj6cFGYBhegvDGz9KCr5IULk/gO9qgLhmESKBaKqykpfJN7ohE/8R0ICE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705968283; c=relaxed/simple; bh=V3wysxgtpraf1FD3rzXyb67aBJ+ub2E5Q1LB48ROvSg=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=O74AUe7dlYM+AqIX8fLxUrleujDgFV82KPnNqrF8IMRJYccL4fJ24sYB77H8GZFQUddN7CjG6jwqocRslba325vKLlhYK/5UhUiVVB3Z5eFOOI+MwjkV+jwvrQ1aS5f09G6LAFGLbPAT8iknklSQRYOLG5p34eHMKd3DM7rtm6w= 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=Mg8JHf+0; arc=fail smtp.client-ip=40.107.113.119 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="Mg8JHf+0" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BuFVBxh+m+hI0hkiMY3rp9NSnbrqSsgae61T/rWvwSxCttSyQdRs9Oa9hSMom1nuFnbn+0LxvZ0q72UG1JHzhea9LfpULmxXd23i1mqVkD+C/kDQm34xzX0sAjPdlRM3BZnvQKQqBTvFqWY42MfwDfWKBfqKJjvL3xDWDIs99Jl/HeGduHoi2yoKFP9lsYmx3eYarTspiDA9VH847/tegWCRqsvQgOcDvbuQNAch3RIL7RYIEOhzXsr0hBEV+Uis6DdG41I6MJEOeCF7jr0xVNJFTgi0hSS5Z5cZUm1PnHaWhiRcjrmjU3VbPUuYVxf6SS/7eALybdcz+Gz60GynCg== 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=Pb1iBXTLrnJcdEu5dznWSKhPuNd2JuAPYL/kAD0iTwTIdAd+4wZANbN4HOlPrmwsmklOX/auXK5LByANjuAoowtXJNEtXWAz/eDtWyBHzer1bJtan6JS54gtjccwtPHO3xpVCwYThjP914d3Tf8jvq+D73NrTxf0tdihLHhOlvs6ouAiftwVN70sG9wy1YI6+w2Hxm63uCwSrnQe6IkY6eKmzkHYEibKun5ZAehsSaLSE1atPMM/9CPNN0MKLb8dO+4LYqLbiz6HJOb+SbFZ2DhEw/1oqxxPY5ecEKEKMNvaEfbhEvz3DU0gydWDpQm4jymvZAC3JkLP2uI52Abuuw== 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=Mg8JHf+0l4ct0nJZVaAcd0wdtCzoGhp8Pln6DzAu8ga3u+D21G6X+YnYmAPb0k/DTqc4MjWyFkj7fyLgI66HVs+CgKm2/vuf/a5tjYyCimvnp98Qb6McpjIGtAvw7KYHcyAk8/hVK2l+FPPF7PQDKYEj160xu0K4g6Jl+k37Kzs= 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 TYCPR01MB5583.jpnprd01.prod.outlook.com (2603:1096:400:40::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.20; Tue, 23 Jan 2024 00:04:39 +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.7228.020; Tue, 23 Jan 2024 00:04:39 +0000 Message-ID: <878r4gud7t.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto 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: <87jzo0uda2.wl-kuninori.morimoto.gx@renesas.com> References: <87jzo0uda2.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 08/13] ASoC: audio-graph-card2.c: use of_graph_get_next_endpoint_raw() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Tue, 23 Jan 2024 00:04:39 +0000 X-ClientProxiedBy: TYCPR01CA0093.jpnprd01.prod.outlook.com (2603:1096:405:3::33) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB5583:EE_ X-MS-Office365-Filtering-Correlation-Id: 4da20250-ba7d-4dfb-f391-08dc1ba6e497 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wXDoSEUVkYB7r6lwadXGtAUcUZ7oVjtIUk0EJWRG9sDyGgaq5S+KLMDuJrQxU3VMI5IcpJqQ+DyAVb5Vjo0AFS5XfCqfh5KCekFrUuG72a51WWu4GSb7vzfDyFGLKcCkMN81n/pNlMjInxV/XafpbbDM7s2JV6VtAndKKohWjWxq7DJlGmc+D3CMMTDRXVJ/lLipq633WtgxGkfTRn9OJ4e3VlAK5myaaMkXc0PybjRH/AhFM+3+W90zn+YbI1kieo1ldZDIHNwY+ICK7moOwyTazQX4FCiYZR+4eNHsLWboldK7dQwP4khzW6H+iCXWHu4EVOWBXh9Zr4X1Ae7T4lrtaNQpeRHAW8XuCVPa2BmB7A6WoqmJZMIxGLprPadq2RxG6brNQ2uMgBZdakMN4EC2bdehfPyYM19cHcq7isO/d1AR55SmQ7HprLu+wyaPae9jAz8i1V2C6AtrBcU8qjz7MHYroi9eRM88rQ6Gurgsj14DAQHVwGkZaTbklQDm6t7c1kwEKzIDnQMAfB7AuwGFiR93i/6w0qRUfJc/mlxzr9VifwTktmk5wlTa6HBV0MeEWoCbRYEL0u1nveKtB/Mm+KJTLbFirJNqiS81rkNowZaXRzB0mzKOHQUd0ufhhuARB90sUYprHE8kbOqaVBdsADeBi8zzF3fnYv5Gu3w= 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)(346002)(136003)(376002)(39860400002)(366004)(396003)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(6506007)(2616005)(6512007)(52116002)(26005)(2013699003)(36756003)(38100700002)(86362001)(921011)(38350700005)(41300700001)(83380400001)(5660300002)(4744005)(7416002)(2906002)(478600001)(110136005)(4326008)(66476007)(6486002)(8936002)(8676002)(66556008)(316002)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FCPemcSm1y0rB1vOu3T+yiLJQTlmp8DBWccPSpuzZ5MdgYMkf/h66W5iYlEDiFppc6+WWoMxZAcqhScnPkasd9l2MZGvYph8ka3E1E2Mj1PWsyrrLsK4bWp82v0/9qQl+RNSC0oT1llntIie046/LYW2pplfSmjDJjf1Pz6gWAApTx+nbsmv7/aSWMGlqklQPceoUKPNlT47BUMVuwv4fyNduxeUsymj1ye4q5DYbG4YUlaL0I6RxUjFgzjrKjzHvDuYBxgDSNDDLDjkj977SpwMXD7RkHSBwUX3o3kGaCs4gWMP/Fa9RVZs72qs364NAt1U37kDZglN7eGraXZgQxqwe7+RahANkq4wadZPEP3zHFctgHRh6pLTGxmmqJoTvkfTofGDQ/ydE9yT0ua+YXD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NSjjpCAC1Zyz4y3ho0izRRAvkEpa5qjQAOR1k5zfwk6WwJw5pchsU/m9/1PCW6rL8DRbUzWPdVq/FCkSjDmTDxYNJcYB2YrKSEFyYzbvlu3tgEk5rVhan3QMmXxhrjtctPJP8R43XkLjWUdIjq/Yy3AE/uZmTR1v7iPHmIc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4da20250-ba7d-4dfb-f391-08dc1ba6e497 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2024 00:04:39.4470 (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: IHSYa/nDpFnUxJ5ZeddWHxucmsVUqgzluZHumJMtz33N4r2Gm8TZSIKihn63VFFDnAOizBLGW+FxJjKlEJqoyKqjHbBlTcjTm43XJaGaf4gb+RgsF7YdXKFMy61k+a/q X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB5583 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;