diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/tifm_sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/tifm_sd.c b/drivers/mmc/tifm_sd.c index e846499a004c..f18ad998b3cb 100644 --- a/drivers/mmc/tifm_sd.c +++ b/drivers/mmc/tifm_sd.c | |||
@@ -387,7 +387,7 @@ static void tifm_sd_prepare_data(struct tifm_sd *card, struct mmc_command *cmd) | |||
387 | 387 | ||
388 | writel(TIFM_FIFO_INT_SETALL, | 388 | writel(TIFM_FIFO_INT_SETALL, |
389 | sock->addr + SOCK_DMA_FIFO_INT_ENABLE_CLEAR); | 389 | sock->addr + SOCK_DMA_FIFO_INT_ENABLE_CLEAR); |
390 | writel(long_log2(cmd->data->blksz) - 2, | 390 | writel(ilog2(cmd->data->blksz) - 2, |
391 | sock->addr + SOCK_FIFO_PAGE_SIZE); | 391 | sock->addr + SOCK_FIFO_PAGE_SIZE); |
392 | writel(TIFM_FIFO_ENABLE, sock->addr + SOCK_FIFO_CONTROL); | 392 | writel(TIFM_FIFO_ENABLE, sock->addr + SOCK_FIFO_CONTROL); |
393 | writel(TIFM_FIFO_INTMASK, sock->addr + SOCK_DMA_FIFO_INT_ENABLE_SET); | 393 | writel(TIFM_FIFO_INTMASK, sock->addr + SOCK_DMA_FIFO_INT_ENABLE_SET); |