From: Linus Walleij Date: Thu, 9 Sep 2010 20:29:34 +0000 (+0200) Subject: ux500: use _cansleep GPIO functions X-Git-Tag: v2.6.38-rc1~471^2^2~1^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bde668c8afa279d81b8f26b2120b906f38f7822;p=profile%2Fivi%2Fkernel-x86-ivi.git ux500: use _cansleep GPIO functions Similar to the patch to MMCI this silences similar messages from the platform code. Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index f0095ff..2fbaa20 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, unsigned char power_mode) { if (power_mode == MMC_POWER_UP) - gpio_set_value(GPIO_SDMMC_EN, 1); + gpio_set_value_cansleep(GPIO_SDMMC_EN, 1); else if (power_mode == MMC_POWER_OFF) - gpio_set_value(GPIO_SDMMC_EN, 0); + gpio_set_value_cansleep(GPIO_SDMMC_EN, 0); return MCI_FBCLKEN | MCI_CMDDIREN | MCI_DATA0DIREN | MCI_DATA2DIREN | MCI_DATA31DIREN;