[alsa-devel] [PATCH 1/4] ASoC: soc-core: Increment codec and platform driver refcounts before probing

Jarkko Nikula jhnikula at gmail.com
Wed Jan 26 15:28:01 CET 2011


On Wed, 26 Jan 2011 13:58:14 +0200
Jarkko Nikula <jhnikula at 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 at gmail.com>
> Cc: Vinod Koul <vinod.koul at intel.com>
> Cc: Harsha Priya <priya.harsha at 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


More information about the Alsa-devel mailing list