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

2014-09-01 Thread li.xi...@freescale.com
> > DAI links's cpu_of_node's and codec_of_node's refcounts shouldn't > > be decremented immediately at the end of the probe() fucntion. > > Because we will still use them before the audio card is removed. > > Right, but your patch seems a bit complicated. See below. > > > > > Signed-off-by: Xiub

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

2014-08-31 Thread Jean-Francois Moine
On Mon, 1 Sep 2014 09:35:27 +0800 Xiubo Li wrote: > DAI links's cpu_of_node's and codec_of_node's refcounts shouldn't > be decremented immediately at the end of the probe() fucntion. > Because we will still use them before the audio card is removed. Right, but your patch seems a bit complicated.