payloads: Fix typos

Change-Id: Ib7f1ba1766e5c972542ce7571a8aa3583c513823
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS
2020-02-15 09:27:11 +01:00
committed by Patrick Georgi
parent 9c26605353
commit 824b4b8a20
17 changed files with 29 additions and 29 deletions

View File

@@ -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;
}