26 Jan
2011
26 Jan
'11
3:28 p.m.
On Wed, 26 Jan 2011 13:58:14 +0200 Jarkko Nikula jhnikula@gmail.com wrote:
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
I don't know any regression with this so probably 2.6.39 material.
Actually I found a regression that I like to fix before this. There's a try_module_get in soc_probe_aux_dev that the commit f6c2ed5 didn't remove and for auxialiry devices there will be then two try_module_get calls since another is in soc_probe_codec.
--
Jarkko