From: Takashi Iwai Subject: Re: [PATCH] ASoC: Fix error paths in N810 machine driver init and release clocks at exit Date: Tue, 26 Aug 2008 15:39:22 +0200 Message-ID: References: <1219746777-17328-1-git-send-email-jarkko.nikula@nokia.com> <20080826103541.GC24258@sirena.org.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B0F7010383C for ; Tue, 26 Aug 2008 15:39:24 +0200 (CEST) In-Reply-To: <20080826103541.GC24258@sirena.org.uk> 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: Mark Brown Cc: alsa-devel@alsa-project.org, Jarkko Nikula , Felipe Balbi List-Id: alsa-devel@alsa-project.org At Tue, 26 Aug 2008 11:35:43 +0100, Mark Brown wrote: > > On Tue, Aug 26, 2008 at 01:32:57PM +0300, Jarkko Nikula wrote: > > Thanks to Felipe Balbi by noticing that if clk_get > > to sys_clkout2_src fails, then n810_snd_device is never released. > > > Add also sys_clkout2_src release into error path, error code return and > > release the clocks at exit. > > > Signed-off-by: Jarkko Nikula > > Acked-by: Mark Brown Thanks, applied. Will be included in the next pull request. Takashi