Commit 5af93281 authored by Tony Lindgren's avatar Tony Lindgren

musb_hdrc: Search and replace bComplete with complete

Search and replace bComplete with complete
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1607dee6
...@@ -1027,7 +1027,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) ...@@ -1027,7 +1027,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
struct musb_hw_ep *hw_ep = musb->control_ep; struct musb_hw_ep *hw_ep = musb->control_ep;
void __iomem *epio = hw_ep->regs; void __iomem *epio = hw_ep->regs;
struct musb_qh *qh = hw_ep->in_qh; struct musb_qh *qh = hw_ep->in_qh;
u8 bComplete = FALSE; u8 complete = FALSE;
irqreturn_t retval = IRQ_NONE; irqreturn_t retval = IRQ_NONE;
/* ep0 only has one queue, "in" */ /* ep0 only has one queue, "in" */
...@@ -1045,7 +1045,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) ...@@ -1045,7 +1045,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
/* if we just did status stage, we are done */ /* if we just did status stage, we are done */
if (MGC_END0_STATUS == musb->ep0_stage) { if (MGC_END0_STATUS == musb->ep0_stage) {
retval = IRQ_HANDLED; retval = IRQ_HANDLED;
bComplete = TRUE; complete = TRUE;
} }
/* prepare status */ /* prepare status */
...@@ -1076,7 +1076,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) ...@@ -1076,7 +1076,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
retval = IRQ_HANDLED; retval = IRQ_HANDLED;
if (urb) if (urb)
urb->status = status; urb->status = status;
bComplete = TRUE; complete = TRUE;
/* use the proper sequence to abort the transfer */ /* use the proper sequence to abort the transfer */
if (csr & MUSB_CSR0_H_REQPKT) { if (csr & MUSB_CSR0_H_REQPKT) {
...@@ -1110,7 +1110,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) ...@@ -1110,7 +1110,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
goto done; goto done;
} }
if (!bComplete) { if (!complete) {
/* call common logic and prepare response */ /* call common logic and prepare response */
if (musb_h_ep0_continue(musb, len, urb)) { if (musb_h_ep0_continue(musb, len, urb)) {
/* more packets required */ /* more packets required */
...@@ -1138,7 +1138,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) ...@@ -1138,7 +1138,7 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb)
musb->ep0_stage = MGC_END0_IDLE; musb->ep0_stage = MGC_END0_IDLE;
/* call completion handler if done */ /* call completion handler if done */
if (bComplete) if (complete)
musb_advance_schedule(musb, urb, hw_ep, 1); musb_advance_schedule(musb, urb, hw_ep, 1);
done: done:
return retval; return retval;
......
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