[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <23aadbd78d3585c900c579c26f360011cf1ca830.camel@sipsolutions.net>
Date: Mon, 26 May 2025 10:13:33 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Ai Chao <aichao@...inos.cn>, perex <perex@...ex.cz>, tiwai
<tiwai@...e.com>, "kuninori.morimoto.gx"
<kuninori.morimoto.gx@...esas.com>, lgirdwood <lgirdwood@...il.com>,
broonie <broonie@...nel.org>, jbrunet <jbrunet@...libre.com>,
"neil.armstrong" <neil.armstrong@...aro.org>, khilman
<khilman@...libre.com>, "martin.blumenstingl"
<martin.blumenstingl@...glemail.com>, "shengjiu.wang"
<shengjiu.wang@...il.com>, "Xiubo.Lee" <Xiubo.Lee@...il.com>, festevam
<festevam@...il.com>, nicoleotsuka <nicoleotsuka@...il.com>, shawnguo
<shawnguo@...nel.org>, "s.hauer" <s.hauer@...gutronix.de>,
"srinivas.kandagatla" <srinivas.kandagatla@...aro.org>
Cc: linux-sound <linux-sound@...r.kernel.org>, linux-kernel
<linux-kernel@...r.kernel.org>, linuxppc-dev
<linuxppc-dev@...ts.ozlabs.org>, linux-renesas-soc
<linux-renesas-soc@...r.kernel.org>, linux-arm-kernel
<linux-arm-kernel@...ts.infradead.org>, linux-amlogic
<linux-amlogic@...ts.infradead.org>, imx <imx@...ts.linux.dev>, kernel
<kernel@...gutronix.de>, linux-arm-msm <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH v2 2/6] ASoC: aoa: Use helper function
for_each_child_of_node_scoped()
On Mon, 2025-05-26 at 16:12 +0800, Ai Chao wrote:
> Hi Johannes:
>
> > > "simplifies the code" is no need to callof_node_put() .
> > Fair. Except that's not what you _actually_ changed here. Like I said,
> > either it's buggy before or after.
> >
> In the function i2sbus_probe, it not return a struct device_node, so , I
> think function for_each_child_of_node_scoped is better than
> for_each_child_of_node.
You still haven't explained why it's even correct.
johannes
Powered by blists - more mailing lists