Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757500Ab3GEPx6 (ORCPT ); Fri, 5 Jul 2013 11:53:58 -0400 Received: from void.printf.net ([89.145.121.20]:45241 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757414Ab3GEPx5 (ORCPT ); Fri, 5 Jul 2013 11:53:57 -0400 From: Chris Ball To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, Mike Rapoport , Paul Gortmaker , Mark Brown , Haojian Zhuang , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: pxa: propagate errors from regulator_enable() to pxamci References: <201307051751.20729.arnd@arndb.de> Date: Fri, 05 Jul 2013 16:53:42 +0100 In-Reply-To: <201307051751.20729.arnd@arndb.de> (Arnd Bergmann's message of "Fri, 5 Jul 2013 17:51:20 +0200") Message-ID: <8638rt3svt.fsf@void.printf.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 28 Hi, On Fri, Jul 05 2013, Arnd Bergmann wrote: > The em_x270_mci_setpower() and em_x270_usb_hub_init() functions > call regulator_enable(), which may return an error that must > be checked. > > This changes the em_x270_usb_hub_init() function to bail out > if it fails, and changes the pxamci_platform_data->setpower > callback so that the a failed em_x270_mci_setpower call > can be propagated by the pxamci driver into the mmc core. > > Signed-off-by: Arnd Bergmann For pxamci: Acked-by: Chris Ball Thanks, - Chris. -- Chris Ball -- 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/