]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: Increment codec and platform driver refcounts before probing
authorJarkko Nikula <jhnikula@gmail.com>
Thu, 27 Jan 2011 14:24:22 +0000 (16:24 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 28 Jan 2011 12:58:14 +0000 (12:58 +0000)
commit4a9581ad5be84022d8a68b5060005d51eaf606ff
tree05cccb4bbe9a906943cdb762bcead5554a0355c5
parent50bc35e9b00ab5ca352490f1a2f58cbf48bcb60b
ASoC: soc-core: Increment codec and platform driver refcounts before probing

Commit f15109c "ASoC: Fix the device references to codec and platform drivers"
moved codec and platform driver refcount increments from soc_bind_dai_link
to more appropriate places.

Adjust a little them so that refcounts are incremented before executing the
driver probe functions.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Harsha Priya <priya.harsha@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c