mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Teresa Gámez" <t.gamez@phytec.de>
Cc: barebox@lists.infradead.org, vicencb@gmail.com
Subject: Re: [PATCH 1/3] ARM OMAP: gpiolib fix chip.base
Date: Wed, 10 Oct 2012 09:32:01 +0200	[thread overview]
Message-ID: <20121010073201.GL27665@pengutronix.de> (raw)
In-Reply-To: <1349776406-14453-1-git-send-email-t.gamez@phytec.de>

On Tue, Oct 09, 2012 at 11:53:24AM +0200, Teresa Gámez wrote:
> 
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
> ---
> @ Vicente: Please check if the patches fix your problem
> 
>  arch/arm/mach-omap/gpio.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied this series to master.

Sascha

> 
> diff --git a/arch/arm/mach-omap/gpio.c b/arch/arm/mach-omap/gpio.c
> index 376e9a7..49ffbda 100644
> --- a/arch/arm/mach-omap/gpio.c
> +++ b/arch/arm/mach-omap/gpio.c
> @@ -133,7 +133,7 @@ static int omap_gpio_probe(struct device_d *dev)
>  	omapgpio = xzalloc(sizeof(*omapgpio));
>  	omapgpio->base = dev_request_mem_region(dev, 0);
>  	omapgpio->chip.ops = &omap_gpio_ops;
> -	omapgpio->chip.base = -1;
> +	omapgpio->chip.base = dev->id * 32;
>  	omapgpio->chip.ngpio = 32;
>  	omapgpio->chip.dev = dev;
>  	gpiochip_add(&omapgpio->chip);
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2012-10-10  7:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09  9:53 Teresa Gámez
2012-10-09  9:53 ` [PATCH 2/3] ARM OMAP: Remove usage of gpio lib calls in lowlevel code Teresa Gámez
2012-10-09 22:50   ` vj
2012-10-09  9:53 ` [PATCH 3/3] ARM OMAP: change region size for gpio banks Teresa Gámez
2012-10-10  7:32 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121010073201.GL27665@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=t.gamez@phytec.de \
    --cc=vicencb@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox