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
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
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 |
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) {}
>
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
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后者,初从文,未及义务教育之免费,不逮高等学校之分配,适值扩招,过五关,斩六将,硕博相继,数年乃成,负债十万。觅生计,十年无休,披星戴月,
秉烛达旦,蓄
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
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
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
-
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)
{
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/
11 matches
Mail list logo