Commit 488e3b5f authored by Julia Lawall's avatar Julia Lawall Committed by Felipe Balbi

usb: gadget: udc: reduce indentation

Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.

Found with the help of Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 4d8cd616
...@@ -947,15 +947,14 @@ static int prep_dma(struct udc_ep *ep, struct udc_request *req, gfp_t gfp) ...@@ -947,15 +947,14 @@ static int prep_dma(struct udc_ep *ep, struct udc_request *req, gfp_t gfp)
UDC_DMA_STP_STS_BS_HOST_READY, UDC_DMA_STP_STS_BS_HOST_READY,
UDC_DMA_STP_STS_BS); UDC_DMA_STP_STS_BS);
/* clear NAK by writing CNAK */
/* clear NAK by writing CNAK */ if (ep->naking) {
if (ep->naking) { tmp = readl(&ep->regs->ctl);
tmp = readl(&ep->regs->ctl); tmp |= AMD_BIT(UDC_EPCTL_CNAK);
tmp |= AMD_BIT(UDC_EPCTL_CNAK); writel(tmp, &ep->regs->ctl);
writel(tmp, &ep->regs->ctl); ep->naking = 0;
ep->naking = 0; UDC_QUEUE_CNAK(ep, ep->num);
UDC_QUEUE_CNAK(ep, ep->num); }
}
} }
......
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