aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-09-09 16:29:34 -0400
committerLinus Walleij <linus.walleij@stericsson.com>2010-12-08 07:14:00 -0500
commit1bde668c8afa279d81b8f26b2120b906f38f7822 (patch)
tree3d09e8731dbe87df19517716183e5530d116c7e2 /arch/arm/mach-ux500
parentb8410a150fbc4e61a28032637dc0ae7e8609131d (diff)
ux500: use _cansleep GPIO functions
Similar to the patch to MMCI this silences similar messages from the platform code. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500-sdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c
index f0095ffee438..2fbaa2013fdb 100644
--- a/arch/arm/mach-ux500/board-mop500-sdi.c
+++ b/arch/arm/mach-ux500/board-mop500-sdi.c
@@ -77,9 +77,9 @@ static u32 mop500_sdi0_vdd_handler(struct device *dev, unsigned int vdd,
77 unsigned char power_mode) 77 unsigned char power_mode)
78{ 78{
79 if (power_mode == MMC_POWER_UP) 79 if (power_mode == MMC_POWER_UP)
80 gpio_set_value(GPIO_SDMMC_EN, 1); 80 gpio_set_value_cansleep(GPIO_SDMMC_EN, 1);
81 else if (power_mode == MMC_POWER_OFF) 81 else if (power_mode == MMC_POWER_OFF)
82 gpio_set_value(GPIO_SDMMC_EN, 0); 82 gpio_set_value_cansleep(GPIO_SDMMC_EN, 0);
83 83
84 return MCI_FBCLKEN | MCI_CMDDIREN | MCI_DATA0DIREN | 84 return MCI_FBCLKEN | MCI_CMDDIREN | MCI_DATA0DIREN |
85 MCI_DATA2DIREN | MCI_DATA31DIREN; 85 MCI_DATA2DIREN | MCI_DATA31DIREN;