From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: fsl: Fix error handling if platform_device_add fails Date: Tue, 20 Sep 2011 13:04:00 +0100 Message-ID: <20110920120359.GA2809@opensource.wolfsonmicro.com> References: <1316502540.4269.1.camel@phoenix> 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 2C3F810381A for ; Tue, 20 Sep 2011 14:04:02 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1316502540.4269.1.camel@phoenix> 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: Axel Lin Cc: alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Timur Tabi List-Id: alsa-devel@alsa-project.org On Tue, Sep 20, 2011 at 03:09:00PM +0800, Axel Lin wrote: > Call platform_device_put() instead of platform_device_unregister() if > platform_device_add() fails. Applied, thanks.