Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Em Qui, 2009-05-07 às 16:37 +0100, Mark Brown escreveu: > No, it will return success. You can see the stub implementation in the > API header files. I looked at it, and kept pxamci_regulator_get() on v3 because of this. :) > > If both are supplied and config_regulator is set, then the regulator

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Mark Brown
On Thu, May 07, 2009 at 11:40:46AM -0300, Daniel Ribeiro wrote: > Em Qui, 2009-05-07 ??s 09:27 +0100, Mark Brown escreveu: > > regulator_get() and regulator_put() compile out if regulator is not > > defined, though you will get a dummy regulator back. > Will regulator_get() return an error case c

Re: [PATCH v3] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Add regulator support to pxamci. This version was tested with and without CONFIG_REGULATOR, it uses the regulator case CONFIG_REGULATOR is defined and a matching is regulator is provided, or falls back to pdata->setpower otherwise. Signed-off-by: Daniel Ribeiro --- drivers/mmc/host/pxamci.c |

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Em Qui, 2009-05-07 às 09:27 +0100, Mark Brown escreveu: > On Thu, May 07, 2009 at 04:13:53AM -0300, Daniel Ribeiro wrote: > > > +#else > > +static int pxamci_regulator_get(struct pxamci_host *host) > > +{ > > + return 0; > > +} > > +static void pxamci_regulator_put(struct pxamci_host *host) {} >

Re: i want to join it

2009-05-07 Thread Antonio Ospite
On Thu, 7 May 2009 21:40:26 +0800 "Vocational" wrote: > hi , i am a stdent from china that who want to reseach some about port > the andriod to my moto E6 and a friend tell me this email address. so > i want to known some knowledge about this topic thanks > Hi, please subscribe to the list: h

i want to join it

2009-05-07 Thread Vocational
hi , i am a stdent from china that who want to reseach some about port the andriod to my moto E6 and a friend tell me this email address. so i want to known some knowledge about this topic thanks -- 夫80后者,初从文,未及义务教育之免费,不逮高等学校之分配,适值扩招,过五关,斩六将,硕博相继,数年乃成,负债十万。觅生计,十年无休,披星戴月, 秉烛达旦,蓄

Re: cant compile recent kernel

2009-05-07 Thread Kolja Dummann
I think this is why you can't compile. -- Forwarded message -- From: Daniel Ribeiro Date: 2009/5/6 Subject: [RFC] pcap-regulator driver, more pcap2 documentation. To: openezx-devel Hi! Thanks to motorola finally releasing a enough info on PCAP2 on the A1200E LATAM kernel sourc

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Mark Brown
On Thu, May 07, 2009 at 04:13:53AM -0300, Daniel Ribeiro wrote: > +#else > +static int pxamci_regulator_get(struct pxamci_host *host) > +{ > + return 0; > +} > +static void pxamci_regulator_put(struct pxamci_host *host) {} regulator_get() and regulator_put() compile out if regulator is not de

Re: [PATCH v2] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Em Qui, 2009-05-07 às 14:12 +0800, Eric Miao escreveu: > From the coding style point of view, we might better keep the number > of those "#ifdef CONFIG_REGULATOR .. #endif" to a minimum, e.g. Thanks! Check this new version. Now releasing the regulator on exit too. Signed-off-by: Daniel Ribeiro -

Re: [PATCH] pxamci: add regulator support.

2009-05-07 Thread Eric Miao
On Thu, May 7, 2009 at 2:05 PM, Daniel Ribeiro wrote: > > Signed-off-by: Daniel Ribeiro >From the coding style point of view, we might better keep the number of those "#ifdef CONFIG_REGULATOR .. #endif" to a minimum, e.g. #ifdef CONFIG_REGULATOR static void mmc_host_set_vcc(int vcc) {

[PATCH] pxamci: add regulator support.

2009-05-07 Thread Daniel Ribeiro
Signed-off-by: Daniel Ribeiro --- drivers/mmc/host/pxamci.c | 24 +--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index 4300957..0607642 100644 --- a/drivers/mmc/host/pxamci.c +++ b/drivers/mmc/host/