aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-07-04 07:09:31 -0400
committerTony Lindgren <tony@atomide.com>2011-07-04 07:15:29 -0400
commitbe741de16f1148ecf0fcdd1f438945c939e6ea38 (patch)
tree806575cd76132fcfd7e2c3bf527056a457f2fdbd /arch/arm/mach-omap2/board-cm-t35.c
parentd12c2e2890e20e65fbaa4b6c5ddbaa66fb843308 (diff)
arm: omap3: cm-t35: fix slow path warning
Fix warning issued by gpio_set_value() call with TPS gpios. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c4
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 3cede3f02ee2..9d585ca3941d 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,
466 if (gpio_request_one(wlan_rst, GPIOF_OUT_INIT_HIGH, "WLAN RST") == 0) { 466 if (gpio_request_one(wlan_rst, GPIOF_OUT_INIT_HIGH, "WLAN RST") == 0) {
467 gpio_export(wlan_rst, 0); 467 gpio_export(wlan_rst, 0);
468 udelay(10); 468 udelay(10);
469 gpio_set_value(wlan_rst, 0); 469 gpio_set_value_cansleep(wlan_rst, 0);
470 udelay(10); 470 udelay(10);
471 gpio_set_value(wlan_rst, 1); 471 gpio_set_value_cansleep(wlan_rst, 1);
472 } else { 472 } else {
473 pr_err("CM-T35: could not obtain gpio for WiFi reset\n"); 473 pr_err("CM-T35: could not obtain gpio for WiFi reset\n");
474 } 474 }