diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-02-15 09:27:11 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-02-17 16:01:50 +0000 |
commit | 824b4b8a2038e91d008ac60919fbc742c3facc61 (patch) | |
tree | c92e2311f426e618ee992459b03af3bc6112e233 /payloads/libpayload/drivers/udc/dwc2.c | |
parent | 9c26605353873165805ce611d93e259a8545853e (diff) | |
download | coreboot-824b4b8a2038e91d008ac60919fbc742c3facc61.tar.xz |
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>
Diffstat (limited to 'payloads/libpayload/drivers/udc/dwc2.c')
-rw-r--r-- | payloads/libpayload/drivers/udc/dwc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/udc/dwc2.c b/payloads/libpayload/drivers/udc/dwc2.c index e95eb7938d..025c0710fe 100644 --- a/payloads/libpayload/drivers/udc/dwc2.c +++ b/payloads/libpayload/drivers/udc/dwc2.c @@ -253,7 +253,7 @@ static void dwc2_halt_ep(struct usbdev_ctrl *this, int ep, int in_dir) usb_debug("dwc2_halt_ep ep %d-%d\n", ep, in_dir); depctl.d32 = readl(&ep_reg->depctl); - /*Alread disabled*/ + /* Already disabled */ if (!depctl.epena) return; /* First step: disable EP */ @@ -558,7 +558,7 @@ static void dwc2_outep_intr(struct usbdev_ctrl *this, dwc2_ep_t *ep) writel(DXEPINT_AHBERR, &ep->ep_regs->depint); } - /* Handle Setup Phase Done (Contorl Ep) */ + /* Handle Setup Phase Done (Control Ep) */ if (depint.setup) { usb_debug("DEPINT_SETUP\n"); writel(DXEPINT_SETUP, &ep->ep_regs->depint); |