diff options
author | Rajat Verma <rajat.verma@stericsson.com> | 2011-09-29 19:03:39 +0530 |
---|---|---|
committer | Rabin VINCENT <rabin.vincent@stericsson.com> | 2011-09-30 06:08:23 +0200 |
commit | b1e045f23decc37e25329f2cdf818d469622b3ec (patch) | |
tree | a0ef4b085d9c7e5ab391e3d620fd826d60f37745 /arch/arm | |
parent | b2c8e90be4ac51072281586a56b5285c145e0f7c (diff) |
ARM: ux500: mmio: Removes gpio_set_value warning
mmio uses gpio pin (BASE + 5) located on gpio
expander chip for XENON_CHARGE.
For setting this pin to high safely
gpio_set_value_cansleep()
must be used instead of gpio_set_value().
ST-Ericsson Linux next: NA
ST-Ericsson ID: 361940
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I02e06faa3d9c1862a649f6eb84336734490a7b2b
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32531
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-mmio.c b/arch/arm/mach-ux500/board-mop500-mmio.c index 6b93514ebdd..a67b16aba2c 100644 --- a/arch/arm/mach-ux500/board-mop500-mmio.c +++ b/arch/arm/mach-ux500/board-mop500-mmio.c @@ -363,7 +363,7 @@ static int mmio_power_enable(struct mmio_platform_data *pdata) } } /* Set Xenon Charge */ - gpio_set_value(extra->xenon_charge, 1); + gpio_set_value_cansleep(extra->xenon_charge, 1); dev_dbg(pdata->dev , "Board %s() Exit\n", __func__); return 0; err_regulator: |