Skip to content

Commit

Permalink
[ARM] 5403/1: pxa25x_ep_fifo_flush() *ep->reg_udccs always set to 0
Browse files Browse the repository at this point in the history
*ep->reg_udccs is always set to 0.

Signed-off-by: Roel Kluin <[email protected]>
Acked-by: Eric Miao <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
RoelKluin authored and Russell King committed Feb 19, 2009
1 parent 3fd9825 commit 22eb36f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/gadget/pxa25x_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,8 @@ static void pxa25x_ep_fifo_flush(struct usb_ep *_ep)

/* most IN status is the same, but ISO can't stall */
*ep->reg_udccs = UDCCS_BI_TPC|UDCCS_BI_FTF|UDCCS_BI_TUR
| (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC)
? 0 : UDCCS_BI_SST;
| (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC
? 0 : UDCCS_BI_SST);
}


Expand Down

0 comments on commit 22eb36f

Please sign in to comment.