Commit f6d9d89f authored by Mickael Maison's avatar Mickael Maison Committed by Greg Kroah-Hartman

USB: gadget: Fixed a few typos in comments

Signed-off-by: default avatarMickael Maison <mickael.maison@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31e01f0a
...@@ -332,7 +332,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req) ...@@ -332,7 +332,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req)
/* clear active and halt bit, in case set from a previous error */ /* clear active and halt bit, in case set from a previous error */
dqh->size_ioc_int_sts &= ~(DTD_STATUS_ACTIVE | DTD_STATUS_HALTED); dqh->size_ioc_int_sts &= ~(DTD_STATUS_ACTIVE | DTD_STATUS_HALTED);
/* Ensure that updates to the QH will occure before priming. */ /* Ensure that updates to the QH will occur before priming. */
wmb(); wmb();
/* Prime the Endpoint */ /* Prime the Endpoint */
...@@ -1656,7 +1656,7 @@ static void handle_setup_packet(struct mv_udc *udc, u8 ep_num, ...@@ -1656,7 +1656,7 @@ static void handle_setup_packet(struct mv_udc *udc, u8 ep_num,
dev_dbg(&udc->dev->dev, "SETUP %02x.%02x v%04x i%04x l%04x\n", dev_dbg(&udc->dev->dev, "SETUP %02x.%02x v%04x i%04x l%04x\n",
setup->bRequestType, setup->bRequest, setup->bRequestType, setup->bRequest,
setup->wValue, setup->wIndex, setup->wLength); setup->wValue, setup->wIndex, setup->wLength);
/* We process some stardard setup requests here */ /* We process some standard setup requests here */
if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) {
switch (setup->bRequest) { switch (setup->bRequest) {
case USB_REQ_GET_STATUS: case USB_REQ_GET_STATUS:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment