[alsa-devel] [PATCH] Fix the device references to codec and platform drivers

Liam Girdwood lrg at slimlogic.co.uk
Wed Jan 5 10:59:02 CET 2011


On Wed, 2011-01-05 at 11:34 +0530, Harsha, Priya wrote:
> From: Harsha Priya <priya.harsha at intel.com>
> 
> The soc-core takes the platform and codec driver reference during probe. Few of
> these references are not released during remove. This cause the platform and
> codec driver module unload to fail.
> 
> This patch fixes by the taking only one reference to platform and codec module
> during probe and releases them correctly during remove. This allows load/unload
> properly
> 
> Signed-off-by: Vinod Koul<vinod.koul at intel.com>
> Signed-off-by: Harsha Priya <priya.harsha at intel.com>
> ---
>  sound/soc/soc-core.c |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 

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



More information about the Alsa-devel mailing list