summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2016-03-15 12:16:39 -0700
committerTom Rini <trini@konsulko.com>2016-03-22 12:16:16 -0400
commita6f70a3d1456e6ce97e0f00ac2d5ff8ae22027d6 (patch)
treedf532a5c7a2877178c9a93f45c521d0cefdfc691 /arch
parent0af49b9575476587d7c0cfd79ba29a21aa50bc05 (diff)
Fix spelling of "transferred".
Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/cpu/mpc8xx/spi.c2
-rw-r--r--arch/sparc/cpu/leon3/usb_uhci.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/spi.c b/arch/powerpc/cpu/mpc8xx/spi.c
index c442af979d..6267c0e204 100644
--- a/arch/powerpc/cpu/mpc8xx/spi.c
+++ b/arch/powerpc/cpu/mpc8xx/spi.c
@@ -455,7 +455,7 @@ ssize_t spi_xfer (size_t count)
*
* The Serial Peripheral Interface (SPI) is tested in the local loopback mode.
* The interface is configured accordingly and several packets
- * are transfered. The configurable test parameters are:
+ * are transferred. The configurable test parameters are:
* TEST_MIN_LENGTH - minimum size of packet to transfer
* TEST_MAX_LENGTH - maximum size of packet to transfer
* TEST_NUM - number of tests
diff --git a/arch/sparc/cpu/leon3/usb_uhci.c b/arch/sparc/cpu/leon3/usb_uhci.c
index 242b83fbcf..67bd1241bd 100644
--- a/arch/sparc/cpu/leon3/usb_uhci.c
+++ b/arch/sparc/cpu/leon3/usb_uhci.c
@@ -55,7 +55,7 @@
* For Interrupt transfers USB_MAX_TEMP_INT_TD Transfer descriptor are available. They
* will be inserted after the appropriate (depending the interval setting) skeleton TD.
* If an interrupt has been detected the dev->irqhandler is called. The status and number
- * of transfered bytes is stored in dev->irq_status resp. dev->irq_act_len. If the
+ * of transferred bytes is stored in dev->irq_status resp. dev->irq_act_len. If the
* dev->irqhandler returns 0, the interrupt TD is removed and disabled. If an 1 is returned,
* the interrupt TD will be reactivated.
*
@@ -229,7 +229,7 @@ unsigned long usb_uhci_td_stat(unsigned long status)
return result;
}
-/* get the status and the transfered len of a td chain.
+/* get the status and the transferred len of a td chain.
* called from the completion handler
*/
int usb_get_td_status(uhci_td_t * td, struct usb_device *dev)
@@ -247,7 +247,7 @@ int usb_get_td_status(uhci_td_t * td, struct usb_device *dev)
stat = usb_uhci_td_stat(temp);
info = swap_32((unsigned long)READ32(&mytd->info));
if (((info & 0xff) != USB_PID_SETUP) && (((info >> 21) & 0x7ff) != 0x7ff) && (temp & 0x7FF) != 0x7ff) { /* if not setup and not null data pack */
- dev->act_len += (temp & 0x7FF) + 1; /* the transfered len is act_len + 1 */
+ dev->act_len += (temp & 0x7FF) + 1; /* the transferred len is act_len + 1 */
}
if (stat) { /* status no ok */
dev->status = stat;
@@ -621,7 +621,7 @@ void usb_check_int_chain(void)
if ((td->dev_ptr != 0L) && !(status & TD_CTRL_ACTIVE)) {
/* td is not active and a device is assigned -> call irqhandler */
dev = (struct usb_device *)td->dev_ptr;
- dev->irq_act_len = ((status & 0x7FF) == 0x7FF) ? 0 : (status & 0x7FF) + 1; /* transfered length */
+ dev->irq_act_len = ((status & 0x7FF) == 0x7FF) ? 0 : (status & 0x7FF) + 1; /* transferred length */
dev->irq_status = usb_uhci_td_stat(status); /* get status */
res = dev->irq_handle(dev); /* call irqhandler */
if (res == 1) {