From: Detlev Casanova <detlev.casanova@collabora.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Piotr Oniszczuk <piotr.oniszczuk@gmail.com>,
linux-kernel@vger.kernel.org,
Algea Cao <algea.cao@rock-chips.com>,
Heiko Stuebner <heiko@sntech.de>,
Geert Uytterhoeven <geert+renesas@glider.be>,
dri-devel@lists.freedesktop.org,
Niklas Cassel <cassel@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
kernel@collabora.com, David Airlie <airlied@gmail.com>,
Dragan Simic <dsimic@manjaro.org>,
Simona Vetter <simona@ffwll.ch>, Rob Herring <robh@kernel.org>,
Robert Foss <rfoss@kernel.org>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Sugar Zhang <sugar.zhang@rock-chips.com>,
linux-rockchip@lists.infradead.org, Chen-Yu Tsai <wens@csie.org>,
FUKAUMI Naoki <naoki@radxa.com>,
devicetree@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>,
Jonas Karlman <jonas@kwiboo.se>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Johan Jonker <jbx6244@gmail.com>,
linux-arm-kernel@lists.infradead.org,
Neil Armstrong <neil.armstrong@linaro.org>,
Alexey Charkov <alchark@gmail.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
Krzysztof Kozlowski <krzk+dt@kernel.org>
Subject: Re: [PATCH v7 0/3] Add HDMI audio on the rk3588 SoC
Date: Tue, 25 Feb 2025 09:58:23 -0500 [thread overview]
Message-ID: <3337030.aeNJFYEL58@trenzalore> (raw)
In-Reply-To: <8734g2sg4t.wl-kuninori.morimoto.gx@renesas.com>
Hi Morimoto-san,
On Tuesday, 25 February 2025 01:16:50 EST Kuninori Morimoto wrote:
> Hi Detlev, again
>
> > > Especially those commits:
> > > ASoC: audio-graph-card2: use __free(device_node) for device node
> > > ASoC: audio-graph-card: use __free(device_node) for device node
> > > ASoC: simple-card: use __free(device_node) for device node
> >
> > I got same report from our test team. I'm now tring to solve it.
>
> Unfortunately, I can't reproduce the issue on my environment,
> but I guess I found the root cause. Does attached patch can solve
> your issue ?
From what I see, the error is not present anymore on linux 6.14-rc4. I tried
reverting your patch "ASoC: simple-card-utils.c: add missing dlc->of_node"
(dabbd325b25edb5cdd99c94391817202dd54b651) and the error reappears.
On 6.14-rc3, any of your patches (dabbd325b25e, or the one you attached here)
will fix the issue and on 6.14-rc4, there is already a patch that fixes the
issue.
Also, since dabbd325b25e, the node indeed should be kept while the driver is
used. So even though the issue reported here is fixed by another patch, both
are likely needed.
That being said, I'm not sure I completely understand why that extra line fixes
the issue. Is the __free() attribute smart enough to know that the pointer has
been copied and not free it at the end of scope ?
> I will officially post the patch to ML, but want to confirm it before it.
>
> Thank you for your help !!
Thank you for looking into this too :)
Detlev.
next prev parent reply other threads:[~2025-02-25 16:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 21:47 [PATCH v7 0/3] Add HDMI audio on the rk3588 SoC Detlev Casanova
2025-02-17 21:47 ` [PATCH v7 1/3] drm/bridge: synopsys: Add audio support for dw-hdmi-qp Detlev Casanova
2025-02-17 21:47 ` [PATCH v7 2/3] arm64: dts: rockchip: Add HDMI audio outputs for rk3588 SoC Detlev Casanova
2025-02-17 21:47 ` [PATCH v7 3/3] arm64: dts: rockchip: Enable HDMI audio outputs for Rock 5B Detlev Casanova
2025-02-20 11:16 ` [PATCH v7 0/3] Add HDMI audio on the rk3588 SoC Piotr Oniszczuk
2025-02-20 17:03 ` Detlev Casanova
2025-02-20 18:31 ` Piotr Oniszczuk
2025-02-21 11:42 ` Piotr Oniszczuk
2025-02-21 14:43 ` Detlev Casanova
2025-02-25 1:03 ` Kuninori Morimoto
2025-02-25 6:16 ` Kuninori Morimoto
2025-02-25 14:58 ` Detlev Casanova [this message]
2025-02-26 1:14 ` Kuninori Morimoto
2025-03-01 9:11 ` Piotr Oniszczuk
2025-03-01 18:27 ` Heiko Stübner
2025-02-27 10:55 ` (subset) " Heiko Stuebner
2025-02-27 13:37 ` Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3337030.aeNJFYEL58@trenzalore \
--to=detlev.casanova@collabora.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=alchark@gmail.com \
--cc=algea.cao@rock-chips.com \
--cc=andrzej.hajda@intel.com \
--cc=cassel@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=dsimic@manjaro.org \
--cc=geert+renesas@glider.be \
--cc=heiko@sntech.de \
--cc=jbx6244@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kernel@collabora.com \
--cc=krzk+dt@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=naoki@radxa.com \
--cc=neil.armstrong@linaro.org \
--cc=piotr.oniszczuk@gmail.com \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=simona@ffwll.ch \
--cc=sugar.zhang@rock-chips.com \
--cc=tzimmermann@suse.de \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).