summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/drivers/usb/usb.c')
-rw-r--r--payloads/libpayload/drivers/usb/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/usb/usb.c b/payloads/libpayload/drivers/usb/usb.c
index 4004def9d9..d98fd9e2bc 100644
--- a/payloads/libpayload/drivers/usb/usb.c
+++ b/payloads/libpayload/drivers/usb/usb.c
@@ -499,7 +499,7 @@ set_address (hci_t *controller, usb_speed speed, int hubport, int hubaddr)
break;
}
- /* Gather up all endpoints belonging to this inteface */
+ /* Gather up all endpoints belonging to this interface */
dev->num_endp = 1;
for (; ptr + 2 <= end && ptr[0] && ptr + ptr[0] <= end; ptr += ptr[0]) {
if (ptr[1] == DT_INTF || ptr[1] == DT_CFG ||
@@ -654,7 +654,7 @@ usb_detach_device(hci_t *controller, int devno)
controller->devices[devno]->configuration = NULL;
/* Tear down the device itself *after* destroy_device()
- * has had a chance to interoogate it. */
+ * has had a chance to interrogate it. */
free(controller->devices[devno]);
controller->devices[devno] = NULL;
}