]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: Fix bug of wrong decrement DT node's refcount
authorXiubo Li <Li.Xiubo@freescale.com>
Mon, 1 Sep 2014 06:46:52 +0000 (14:46 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2014 16:48:07 +0000 (17:48 +0100)
commit18051962fe22ad3c17f5e21821746150db383ab4
treeafcd63e086b61b3e7f1cd91dac29479c7df4acee
parentca09702717581356bb91e5bbfbb244eda384a004
ASoC: simple-card: Fix bug of wrong decrement DT node's refcount

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.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c