diff options
Diffstat (limited to 'drivers/mmc/host/s3cmci.c')
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 1ccd4b256cee..a04f87d7ee3d 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c | |||
@@ -874,7 +874,7 @@ static void finalize_request(struct s3cmci_host *host) | |||
874 | if (!mrq->data) | 874 | if (!mrq->data) |
875 | goto request_done; | 875 | goto request_done; |
876 | 876 | ||
877 | /* Calulate the amout of bytes transfer if there was no error */ | 877 | /* Calculate the amout of bytes transfer if there was no error */ |
878 | if (mrq->data->error == 0) { | 878 | if (mrq->data->error == 0) { |
879 | mrq->data->bytes_xfered = | 879 | mrq->data->bytes_xfered = |
880 | (mrq->data->blocks * mrq->data->blksz); | 880 | (mrq->data->blocks * mrq->data->blksz); |
@@ -882,7 +882,7 @@ static void finalize_request(struct s3cmci_host *host) | |||
882 | mrq->data->bytes_xfered = 0; | 882 | mrq->data->bytes_xfered = 0; |
883 | } | 883 | } |
884 | 884 | ||
885 | /* If we had an error while transfering data we flush the | 885 | /* If we had an error while transferring data we flush the |
886 | * DMA channel and the fifo to clear out any garbage. */ | 886 | * DMA channel and the fifo to clear out any garbage. */ |
887 | if (mrq->data->error != 0) { | 887 | if (mrq->data->error != 0) { |
888 | if (s3cmci_host_usedma(host)) | 888 | if (s3cmci_host_usedma(host)) |
@@ -980,7 +980,7 @@ static int s3cmci_setup_data(struct s3cmci_host *host, struct mmc_data *data) | |||
980 | 980 | ||
981 | if ((data->blksz & 3) != 0) { | 981 | if ((data->blksz & 3) != 0) { |
982 | /* We cannot deal with unaligned blocks with more than | 982 | /* We cannot deal with unaligned blocks with more than |
983 | * one block being transfered. */ | 983 | * one block being transferred. */ |
984 | 984 | ||
985 | if (data->blocks > 1) { | 985 | if (data->blocks > 1) { |
986 | pr_warning("%s: can't do non-word sized block transfers (blksz %d)\n", __func__, data->blksz); | 986 | pr_warning("%s: can't do non-word sized block transfers (blksz %d)\n", __func__, data->blksz); |