The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: linux-kernel@vger.kernel.org, lethal@linux-sh.org,
	akpm@linux-foundation.org
Subject: Re: [PATCH] gpiolib: request fix V2
Date: Fri, 16 Jan 2009 00:11:01 -0800	[thread overview]
Message-ID: <200901160011.01325.david-b@pacbell.net> (raw)
In-Reply-To: <20090116073406.11946.95332.sendpatchset@rx1.opensource.se>

On Thursday 15 January 2009, Magnus Damm wrote:
> From: Magnus Damm <damm@igel.co.jp>
> 
> Fix request related issue in gpiolib:
>  - fix request-already-requested handling in gpio_request()
> 
> Signed-off-by: Magnus Damm <damm@igel.co.jp>

Acked-by: David Brownell <dbrownell@users.sourceforge.net>

Appropriate for 2.6.28-stable.


> ---
> 
>   Changes since V1:
>   - dropped the gpio_direction_input/output fixes
> 
>  drivers/gpio/gpiolib.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- 0001/drivers/gpio/gpiolib.c
> +++ work/drivers/gpio/gpiolib.c	2008-12-26 13:09:50.000000000 +0900
> @@ -789,6 +789,7 @@ int gpio_request(unsigned gpio, const ch
>  	} else {
>  		status = -EBUSY;
>  		module_put(chip->owner);
> +		goto done;
>  	}
>  
>  	if (chip->request) {
> 
> 



      reply	other threads:[~2009-01-16  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16  7:34 [PATCH] gpiolib: request fix V2 Magnus Damm
2009-01-16  8:11 ` David Brownell [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=200901160011.01325.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=akpm@linux-foundation.org \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=magnus.damm@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