From patchwork Tue Jun 14 21:16:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Grinberg X-Patchwork-Id: 880172 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5ELGMXJ028308 for ; Tue, 14 Jun 2011 21:16:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752505Ab1FNVQU (ORCPT ); Tue, 14 Jun 2011 17:16:20 -0400 Received: from 50.23.254.54-static.reverse.softlayer.com ([50.23.254.54]:38858 "EHLO softlayer.compulab.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752366Ab1FNVQS (ORCPT ); Tue, 14 Jun 2011 17:16:18 -0400 Received: from [62.90.235.247] (port=43493 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.69) (envelope-from ) id 1QWay9-0006qV-Hu; Wed, 15 Jun 2011 00:16:17 +0300 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id CA8E27E99DA; Wed, 15 Jun 2011 00:16:16 +0300 (IDT) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q2TGenRyRMei; Wed, 15 Jun 2011 00:16:16 +0300 (IDT) Received: from grinberg-linux (grinberg-pc.compulab.local [10.1.1.13]) by zimbra-mta.compulab.co.il (Postfix) with SMTP id 6E95B7E99CF; Wed, 15 Jun 2011 00:16:15 +0300 (IDT) Received: by grinberg-linux (sSMTP sendmail emulation); Wed, 15 Jun 2011 00:16:18 +0300 From: Igor Grinberg To: Tony Lindgren Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mike Rapoport , Igor Grinberg Subject: [PATCH 2/3] arm: omap3: cm-t35: fix slow path warning Date: Wed, 15 Jun 2011 00:16:13 +0300 Message-Id: <1308086174-3080-2-git-send-email-grinberg@compulab.co.il> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <20110614073648.GI3352@atomide.com> References: <20110614073648.GI3352@atomide.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 14 Jun 2011 21:16:22 +0000 (UTC) Fix warning issued by gpio_set_value() call with TPS gpios. Signed-off-by: Igor Grinberg --- arch/arm/mach-omap2/board-cm-t35.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 6c5881b..256b81c 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c @@ -466,9 +466,9 @@ static int cm_t35_twl_gpio_setup(struct device *dev, unsigned gpio, if (gpio_request_one(wlan_rst, GPIOF_OUT_INIT_HIGH, "WLAN RST") == 0) { gpio_export(wlan_rst, 0); udelay(10); - gpio_set_value(wlan_rst, 0); + gpio_set_value_cansleep(wlan_rst, 0); udelay(10); - gpio_set_value(wlan_rst, 1); + gpio_set_value_cansleep(wlan_rst, 1); } else { pr_err("CM-T35: could not obtain gpio for WiFi reset\n"); }