[PATCH] double requested gpio problem

Silvio Fricke silvio.fricke at gmail.com
Tue Sep 16 05:15:10 PDT 2014


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




More information about the barebox mailing list