RE: [PATCHv2 1/2] ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount

2014-08-31 Thread li.xi...@freescale.com
> > Signed-off-by: Xiubo Li > > --- > > sound/soc/generic/simple-card.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple- > card.c > > index fd8b045..9e170fe 100644 > > --- a/sound/soc/generic/simple-card.c > > +++ b/sound/

Re: [PATCHv2 1/2] ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount

2014-08-31 Thread Jean-Francois Moine
On Mon, 1 Sep 2014 09:35:26 +0800 Xiubo Li wrote: > We shouldn't forget decrement the last DT node when the > for_each_child_of_node() has finished searching. > > Signed-off-by: Xiubo Li > --- > sound/soc/generic/simple-card.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/soc

[PATCHv2 1/2] ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount

2014-08-31 Thread Xiubo Li
We shouldn't forget decrement the last DT node when the for_each_child_of_node() has finished searching. Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index fd8b045