From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.data-modul.de ([212.184.205.171] helo=mailgw1.data-modul.com) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XTrfl-0007ho-Ot for barebox@lists.infradead.org; Tue, 16 Sep 2014 12:15:54 +0000 From: Silvio Fricke Date: Tue, 16 Sep 2014 14:15:10 +0200 Message-Id: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] double requested gpio problem To: barebox@lists.infradead.org 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