mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] double requested gpio problem
@ 2014-09-16 12:15 Silvio Fricke
  2014-09-16 12:15 ` [PATCH] gpiolib: gpio_request: correct return code of a already requested gpio Silvio Fricke
  0 siblings, 1 reply; 7+ messages in thread
From: Silvio Fricke @ 2014-09-16 12:15 UTC (permalink / raw)
  To: barebox; +Cc: Silvio Fricke

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-22  4:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-16 12:15 [PATCH] double requested gpio problem Silvio Fricke
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox