aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/atmel-mci.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2011-08-11 11:25:45 -0400
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:26 -0400
commit11d1488b01b803254842b756ff7662085b37970e (patch)
treeeb3af41aed14e7bc441cf7770b4f3da5c1c771a2 /drivers/mmc/host/atmel-mci.c
parent796211b7953bd1036670359f31cd97f309322107 (diff)
mmc: atmel-mci: change atmci_start_command to atmci_send_command
Rename atmci_start_command() to atmci_send_command() which is more appropriate; atmci_start_command suggests we're sending a start command. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/atmel-mci.c')
-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);