From: Daniel Baluta <daniel.baluta@nxp.com>
To: "kuninori.morimoto.gx@renesas.com" <kuninori.morimoto.gx@renesas.com>
Cc: dl-linux-imx <linux-imx@nxp.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"vicencb@gmail.com" <vicencb@gmail.com>,
"broonie@kernel.org" <broonie@kernel.org>,
"tiwai@suse.com" <tiwai@suse.com>,
"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"S.j. Wang" <shengjiu.wang@nxp.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] ASoC: simple-card: Fix refcount underflow
Date: Mon, 18 Feb 2019 07:06:19 +0000 [thread overview]
Message-ID: <b4bee8ff1307004ec9d1122f70ab2cb0d636ea4a.camel@nxp.com> (raw)
In-Reply-To: <87lg2d51lv.wl-kuninori.morimoto.gx@renesas.com>
On Mon, 2019-02-18 at 10:37 +0900, Kuninori Morimoto wrote:
> Hi Daniel, Mark, again
>
> > > of_get_child_by_name() takes a reference we'll need to drop
> > > later so when we substitute in top we need to take a reference
> > > as well as just assigning.
> > >
> > > Without this patch we hit the following error:
> > >
> > > [ 1.246852] OF: ERROR: Bad of_node_put() on /sound-wm8524
> > > [ 1.262261] Hardware name: NXP i.MX8MQ EVK (DT)
> > > [ 1.266807] Workqueue: events deferred_probe_work_func
> > > [ 1.271950] Call trace:
> > > [ 1.274406] dump_backtrace+0x0/0x158
> > > [ 1.278074] show_stack+0x14/0x20
> > > [ 1.281396] dump_stack+0xa8/0xcc
> > > [ 1.284717] of_node_release+0xb0/0xc8
> > > [ 1.288474] kobject_put+0x74/0xf0
> > > [ 1.291879] of_node_put+0x14/0x28
> > > [ 1.295286] __of_get_next_child+0x44/0x70
> > > [ 1.299387] of_get_next_child+0x3c/0x60
> > > [ 1.303315] simple_for_each_link+0x1dc/0x230
> > > [ 1.307676] simple_probe+0x80/0x540
> > > [ 1.311256] platform_drv_probe+0x50/0xa0
> > >
> > > This patch is based on an earlier version posted by Kuninori
> > > Morimoto
> > > and commit message includes explanations from Mark Brown.
> > >
> > >
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.kernel.org%2Fpatch%2F10814255%2F&data=02%7C01%7Cdaniel.baluta%40nxp.com%7Ced1b7adc66a546c1bb4608d69541aaf8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636860506617983174&sdata=hTsurDLdtLAtTw0a5v%2FrSsleSawAP2yiVPl87%2BHCzTI%3D&reserved=0
> > >
> > > Reported-by: Vicente Bergas <vicencb@gmail.com>
> > > Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
> > > ---
> >
> > I'm not sure which one is correct in this case
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >
> > or
> >
> > Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> And we want to add
>
> Fixes: commit da215354eb55c ("ASoC: simple-card: merge simple-scu-
> card")
>
Thanks! I thought about adding this but the current patch will not
cleanly apply because of:
2d01a84605a55c ("ASoC: simple-card: reduce naming prefix")
next prev parent reply other threads:[~2019-02-18 7:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-16 10:09 Daniel Baluta
2019-02-18 1:17 ` Kuninori Morimoto
2019-02-18 1:37 ` Kuninori Morimoto
2019-02-18 7:06 ` Daniel Baluta [this message]
2019-02-18 7:52 ` Takashi Iwai
2019-02-18 17:50 ` Mark Brown
2019-02-18 18:00 ` [alsa-devel] " Daniel Baluta
2019-02-18 18:22 ` Mark Brown
2019-02-18 18:49 ` Applied "ASoC: simple-card: Fix refcount underflow" to the asoc tree Mark Brown
2019-02-18 18:52 ` Mark Brown
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=b4bee8ff1307004ec9d1122f70ab2cb0d636ea4a.camel@nxp.com \
--to=daniel.baluta@nxp.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shengjiu.wang@nxp.com \
--cc=tiwai@suse.com \
--cc=vicencb@gmail.com \
/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
all inboxes | Powered by JetHome®