[alsa-devel] [PATCH 2.6.38] ASoC: Fix module refcount for auxiliary devices

Liam Girdwood lrg at slimlogic.co.uk
Wed Jan 26 21:11:49 CET 2011

On Wed, 2011-01-26 at 16:39 +0200, Jarkko Nikula wrote:
> Commit f6c2ed5 "ASoC: Fix the device references to codec and platform drivers"
> moved codec driver refcount increments from soc_bind_dai_link into
> soc_probe_codec.
> However, the commit didn't remove try_module_get from soc_probe_aux_dev so
> the auxiliary device reference counts are incremented twice as the
> soc_probe_codec is called from soc_probe_aux_dev too.
> 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>
> ---

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

More information about the Alsa-devel mailing list