[alsa-devel] [PATCH 1/2] ASoC: Fix module refcount for auxiliary devices

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jan 27 15:23:56 CET 2011

On Thu, Jan 27, 2011 at 04:24:21PM +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.

This is already applied for 2.6.38.

More information about the Alsa-devel mailing list