Skip to content

Commit

Permalink
ux500: use _cansleep GPIO functions
Browse files Browse the repository at this point in the history
Similar to the patch to MMCI this silences similar messages from
the platform code.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
  • Loading branch information
Linus Walleij committed Dec 8, 2010
1 parent b8410a1 commit 1bde668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-ux500/board-mop500-sdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1bde668

Please sign in to comment.