From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [PATCH] ASoC: TWL4030: Module unloading fix Date: Thu, 04 Feb 2010 10:14:15 +0000 Message-ID: <1265278455.3198.10.camel@odin> 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 mail-ew0-f223.google.com (mail-ew0-f223.google.com [209.85.219.223]) by alsa0.perex.cz (Postfix) with ESMTP id 0A6F224362 for ; Thu, 4 Feb 2010 11:14:20 +0100 (CET) Received: by ewy23 with SMTP id 23so125847ewy.4 for ; Thu, 04 Feb 2010 02:14:19 -0800 (PST) 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, broonie@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org On Thu, 2010-02-04 at 09:10 +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 > --- Acked-by: Liam Girdwood -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk