mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
usb: amd5536udc: Fix indentation
Remove an unnecessary level of indentation. Signed-off-by: Cyril Roelandt <tipecaml@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
5647a149e2
commit
1435db486c
1 changed files with 3 additions and 3 deletions
|
|
@ -2409,9 +2409,9 @@ static irqreturn_t udc_data_in_isr(struct udc *dev, int ep_ix)
|
|||
/* write fifo */
|
||||
udc_txfifo_write(ep, &req->req);
|
||||
len = req->req.length - req->req.actual;
|
||||
if (len > ep->ep.maxpacket)
|
||||
len = ep->ep.maxpacket;
|
||||
req->req.actual += len;
|
||||
if (len > ep->ep.maxpacket)
|
||||
len = ep->ep.maxpacket;
|
||||
req->req.actual += len;
|
||||
if (req->req.actual == req->req.length
|
||||
|| (len != ep->ep.maxpacket)) {
|
||||
/* complete req */
|
||||
|
|
|
|||
Loading…
Reference in a new issue