From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Hunter Subject: Re: [PATCH] MMC: move regulator handling closer to core v2 Date: Sat, 04 Sep 2010 09:10:23 +0300 Message-ID: <4C81E2CF.8070406@nokia.com> References: <1283268367-3525-1-git-send-email-linus.walleij@stericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Linus Walleij Cc: "linux-kernel@vger.kernel.org" , Andrew Morton , Liam Girdwood , Mark Brown , Tony Lindgren , Robert Jarzmik , Sundar Iyer , Daniel Mack , Pierre Ossman , Matt Fleming , David Brownell , Russell King , Eric Miao , Cliff Brake , "Lavinen Jarkko (Nokia-MS/Helsinki)" , "linux-mmc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" List-Id: linux-mmc@vger.kernel.org Linus Walleij wrote: > 2010/8/31 Linus Walleij : > >> After discovering a problem in regulator reference counting I >> took Mark Brown's advice to move the reference count into the >> MMC core by making the regulator status a member of >> struct mmc_host. > > This has an Reveiwed-by from the regulator maintainer and > seems to address all comments, noone is objection so Andrew > can you pick it up? One of our contractors had a look at the patch and had this comment: One comment/question: /host/mmci.c in function "static int __devexit mmci_remove(struct amba_device *dev)" there is code: if (regulator_is_enabled(host->vcc)) regulator_disable(host->vcc); should "ret = mmc_regulator_set_ocr(mmc, host->vcc, 0);" be added here? > > Yours, > Linus Walleij >