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)
commit70d29331ac551c11e6e3934f43a548ae8154351e
tree05cccb4bbe9a906943cdb762bcead5554a0355c5
parent8c9daae2cfe3b17f946ff998a692bddc9cd3e3b6
ASoC: soc-core: Increment codec and platform driver refcounts before probing

Commit f6c2ed5 "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