提交 1bde668c 编写于 作者: L Linus Walleij

ux500: use _cansleep GPIO functions

Similar to the patch to MMCI this silences similar messages from
the platform code.
Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
上级 b8410a15
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册