All of lore.kernel.org
 help / color / mirror / Atom feed
From: Silvio Fricke <silvio.fricke@gmail.com>
To: barebox@lists.infradead.org
Cc: Silvio Fricke <silvio.fricke@gmail.com>
Subject: [PATCH] double requested gpio problem
Date: Tue, 16 Sep 2014 14:15:10 +0200	[thread overview]
Message-ID: <cover.1410868272.git.silvio.fricke@gmail.com> (raw)

Hi,

I have seen that our phy_reset pin is not correctly configured because the
gpiopin information is requested more than one time. I get this as error
message. (My board is the eDM-QMX6 from Data-Modul)

	gpiolib: _gpio_request: gpio-25 (phy-reset) status -16

Because gpiolib is used so many times, I don't know if this is a correct
solution for my problem.
Can someone check this patch and give me some comments?

Thx,
Silvio

Silvio Fricke (1):
  gpiolib: gpio_request: correct return code of a already requested gpio

 drivers/gpio/gpiolib.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
2.1.0


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

             reply	other threads:[~2014-09-16 12:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16 12:15 Silvio Fricke [this message]
2014-09-16 12:15 ` [PATCH] gpiolib: gpio_request: correct return code of a already requested gpio Silvio Fricke
2014-09-17  6:32   ` [PATCH] gpio phy-reset problem Silvio Fricke
2014-09-17  6:33     ` [PATCH] ARM: i.MX: edmqmx6: free phy-reset gpio pin Silvio Fricke
2014-09-17  7:11       ` Sascha Hauer
2014-09-17  7:17         ` Alexander Shiyan
2014-09-22  4:57       ` Sascha Hauer

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=cover.1410868272.git.silvio.fricke@gmail.com \
    --to=silvio.fricke@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.