From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: [PATCH] ARM: pxa: propagate errors from regulator_enable() to pxamci Date: Fri, 05 Jul 2013 16:53:42 +0100 Message-ID: <8638rt3svt.fsf@void.printf.net> References: <201307051751.20729.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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 In-Reply-To: <201307051751.20729.arnd@arndb.de> (Arnd Bergmann's message of "Fri, 5 Jul 2013 17:51:20 +0200") Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org 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 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