From: Liam Girdwood Subject: Re: [PATCH] Fix the device references to codec and platform drivers Date: Wed, 05 Jan 2011 09:59:02 +0000 Message-ID: <1294221543.3473.0.camel@odin> References: <1294207491-17789-1-git-send-email-priya.harsha@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f179.google.com (mail-wy0-f179.google.com [74.125.82.179]) by alsa0.perex.cz (Postfix) with ESMTP id B689C10386B for ; Wed, 5 Jan 2011 10:59:06 +0100 (CET) Received: by wyi11 with SMTP id 11so14974987wyi.38 for ; Wed, 05 Jan 2011 01:59:06 -0800 (PST) In-Reply-To: <1294207491-17789-1-git-send-email-priya.harsha@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: "Harsha, Priya" Cc: Vinod Koul , alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org On Wed, 2011-01-05 at 11:34 +0530, Harsha, Priya wrote: > From: Harsha Priya > > 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 > Signed-off-by: Harsha Priya > --- > sound/soc/soc-core.c | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) > Acked-by: Liam Girdwood -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk