projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix common misspellings
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
mmc
/
host
/
s3cmci.c
diff --git
a/drivers/mmc/host/s3cmci.c
b/drivers/mmc/host/s3cmci.c
index 1ccd4b256ceec11008370a1691d00c7018570cbe..a04f87d7ee3d13a79be90146b2cfa004014d01be 100644
(file)
--- a/
drivers/mmc/host/s3cmci.c
+++ b/
drivers/mmc/host/s3cmci.c
@@
-874,7
+874,7
@@
static void finalize_request(struct s3cmci_host *host)
if (!mrq->data)
goto request_done;
if (!mrq->data)
goto request_done;
- /* Calulate the amout of bytes transfer if there was no error */
+ /* Cal
c
ulate the amout of bytes transfer if there was no error */
if (mrq->data->error == 0) {
mrq->data->bytes_xfered =
(mrq->data->blocks * mrq->data->blksz);
if (mrq->data->error == 0) {
mrq->data->bytes_xfered =
(mrq->data->blocks * mrq->data->blksz);
@@
-882,7
+882,7
@@
static void finalize_request(struct s3cmci_host *host)
mrq->data->bytes_xfered = 0;
}
mrq->data->bytes_xfered = 0;
}
- /* If we had an error while transfering data we flush the
+ /* If we had an error while transfer
r
ing data we flush the
* DMA channel and the fifo to clear out any garbage. */
if (mrq->data->error != 0) {
if (s3cmci_host_usedma(host))
* DMA channel and the fifo to clear out any garbage. */
if (mrq->data->error != 0) {
if (s3cmci_host_usedma(host))
@@
-980,7
+980,7
@@
static int s3cmci_setup_data(struct s3cmci_host *host, struct mmc_data *data)
if ((data->blksz & 3) != 0) {
/* We cannot deal with unaligned blocks with more than
if ((data->blksz & 3) != 0) {
/* We cannot deal with unaligned blocks with more than
- * one block being transfered. */
+ * one block being transfer
r
ed. */
if (data->blocks > 1) {
pr_warning("%s: can't do non-word sized block transfers (blksz %d)\n", __func__, data->blksz);
if (data->blocks > 1) {
pr_warning("%s: can't do non-word sized block transfers (blksz %d)\n", __func__, data->blksz);