]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace bComplete with complete
authorTony Lindgren <tony@atomide.com>
Thu, 16 Aug 2007 08:45:25 +0000 (01:45 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Aug 2007 10:35:08 +0000 (03:35 -0700)
Search and replace bComplete with complete

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_host.c

index 5a1dc4efeb53ce04e58deff98bc6d248a49eaa3b..5a325b358623d71178c04e4ae2c0461f387dd062 100644 (file)
@@ -1027,7 +1027,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
        struct musb_hw_ep       *hw_ep = musb->control_ep;
        void __iomem            *epio = hw_ep->regs;
        struct musb_qh          *qh = hw_ep->in_qh;
-       u8                      bComplete = FALSE;
+       u8                      complete = FALSE;
        irqreturn_t             retval = IRQ_NONE;
 
        /* ep0 only has one queue, "in" */
@@ -1045,7 +1045,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
        /* if we just did status stage, we are done */
        if (MGC_END0_STATUS == musb->ep0_stage) {
                retval = IRQ_HANDLED;
-               bComplete = TRUE;
+               complete = TRUE;
        }
 
        /* prepare status */
@@ -1076,7 +1076,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
                retval = IRQ_HANDLED;
                if (urb)
                        urb->status = status;
-               bComplete = TRUE;
+               complete = TRUE;
 
                /* use the proper sequence to abort the transfer */
                if (csr & MUSB_CSR0_H_REQPKT) {
@@ -1110,7 +1110,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
                goto done;
        }
 
-       if (!bComplete) {
+       if (!complete) {
                /* call common logic and prepare response */
                if (musb_h_ep0_continue(musb, len, urb)) {
                        /* more packets required */
@@ -1138,7 +1138,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
                musb->ep0_stage = MGC_END0_IDLE;
 
        /* call completion handler if done */
-       if (bComplete)
+       if (complete)
                musb_advance_schedule(musb, urb, hw_ep, 1);
 done:
        return retval;