Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753644Ab1EVTJs (ORCPT ); Sun, 22 May 2011 15:09:48 -0400 Received: from mga09.intel.com ([134.134.136.24]:17776 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141Ab1EVTJo (ORCPT ); Sun, 22 May 2011 15:09:44 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,252,1304319600"; d="scan'208";a="2647038" Date: Sun, 22 May 2011 21:09:40 +0200 From: Samuel Ortiz To: Axel Lin Cc: linux-kernel@vger.kernel.org, Keshava Munegowda , Felipe Balbi Subject: Re: [PATCH] mfd: Fix omap_usbhs_alloc_children error handling Message-ID: <20110522190939.GB18610@sortiz-mobl> References: <1305353736.11286.2.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1305353736.11286.2.camel@phoenix> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 20 Hi Axel, On Sat, May 14, 2011 at 02:15:36PM +0800, Axel Lin wrote: > 1. Return proper error if omap_usbhs_alloc_child fails > 2. In the case of goto err_ehci, we should call platform_device_unregister(ehci) > instead of platform_device_put(ehci) because we have already added the > platform device to device hierarchy. Patch applied, thanks a lot. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/