aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-02-22 16:40:56 +0100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2023-02-28 16:12:57 +1100
commit9604efb1832de13b51f93ad0a3581f9ed6dc04b5 (patch)
tree67b01f8c25785243baedd3863df657baa3d086a2 /lib/libusb
parentac9eac38755af41c114bef5515aa6863ad648d86 (diff)
downloadSLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.zip
SLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.tar.gz
SLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.tar.bz2
Fix typos in the remaining lib folders
Found with the "codespell" utility. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libusb')
-rw-r--r--lib/libusb/usb-ohci.c2
-rw-r--r--lib/libusb/usb-xhci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libusb/usb-ohci.c b/lib/libusb/usb-ohci.c
index 3f2ecf3..8c9ab01 100644
--- a/lib/libusb/usb-ohci.c
+++ b/lib/libusb/usb-ohci.c
@@ -645,7 +645,7 @@ static int ohci_transfer_bulk(struct usb_pipe *pipe, void *td_ptr,
__func__, pipe, data_phys, datalen, dir, td, td_phys);
if (!tds) {
- printf("%s: tds NULL recieved\n", __func__);
+ printf("%s: tds NULL received\n", __func__);
ret = false;
goto end;
}
diff --git a/lib/libusb/usb-xhci.c b/lib/libusb/usb-xhci.c
index cdf8042..6708bc0 100644
--- a/lib/libusb/usb-xhci.c
+++ b/lib/libusb/usb-xhci.c
@@ -714,7 +714,7 @@ static int xhci_port_scan(struct xhci_hcd *xhcd,
cap = xhcd->cap_regs;
port_cnt = num_ports = read_reg32(&cap->hcsparams1) >> 24;
- /* Read the xHCI extented capability to find usb3 ports and offset*/
+ /* Read the xHCI extended capability to find usb3 ports and offset*/
xecp_off = XHCI_HCCPARAMS_XECP(read_reg32(&cap->hccparams));
base = (uint32_t *)cap;
while (xecp_off > 0) {