From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: TWL4030: Module unloading fix Date: Thu, 4 Feb 2010 10:49:30 +0000 Message-ID: <20100204104930.GA663@rakim.wolfsonmicro.main> References: <1265267410-8007-1-git-send-email-peter.ujfalusi@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 83B7D1037F2 for ; Thu, 4 Feb 2010 11:49:32 +0100 (CET) Content-Disposition: inline In-Reply-To: <1265267410-8007-1-git-send-email-peter.ujfalusi@nokia.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: Peter Ujfalusi Cc: alsa-devel@alsa-project.org, lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Thu, Feb 04, 2010 at 09:10:10AM +0200, Peter Ujfalusi wrote: > The module unloading path had several problems: > - it freed up the private structure twice > - it freed up the codec structure, which was allocated as part > of the private structure > - it did not freed up the reg_cache > - it did not unregistered the dais and the codec > > Signed-off-by: Peter Ujfalusi Applied, thanks.