aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/atmel-mci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 57596782061b..caae967dcafe 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -565,7 +565,7 @@ static u32 atmci_prepare_command(struct mmc_host *mmc,
565 return cmdr; 565 return cmdr;
566} 566}
567 567
568static void atmci_start_command(struct atmel_mci *host, 568static void atmci_send_command(struct atmel_mci *host,
569 struct mmc_command *cmd, u32 cmd_flags) 569 struct mmc_command *cmd, u32 cmd_flags)
570{ 570{
571 WARN_ON(host->cmd); 571 WARN_ON(host->cmd);
@@ -581,7 +581,7 @@ static void atmci_start_command(struct atmel_mci *host,
581 581
582static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data) 582static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data)
583{ 583{
584 atmci_start_command(host, data->stop, host->stop_cmdr); 584 atmci_send_command(host, data->stop, host->stop_cmdr);
585 atmci_writel(host, ATMCI_IER, ATMCI_CMDRDY); 585 atmci_writel(host, ATMCI_IER, ATMCI_CMDRDY);
586} 586}
587 587
@@ -1003,7 +1003,7 @@ static void atmci_start_request(struct atmel_mci *host,
1003 iflags |= ATMCI_CMDRDY; 1003 iflags |= ATMCI_CMDRDY;
1004 cmd = mrq->cmd; 1004 cmd = mrq->cmd;
1005 cmdflags = atmci_prepare_command(slot->mmc, cmd); 1005 cmdflags = atmci_prepare_command(slot->mmc, cmd);
1006 atmci_start_command(host, cmd, cmdflags); 1006 atmci_send_command(host, cmd, cmdflags);
1007 1007
1008 if (data) 1008 if (data)
1009 host->submit_data(host, data); 1009 host->submit_data(host, data);