usb: musb: core: fix TX/RX endpoint order
authorFelipe Balbi <balbi@ti.com>
Mon, 30 Dec 2013 18:33:53 +0000 (12:33 -0600)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 23:32:00 +0000 (00:32 +0100)
commit e3c93e1a3f35be4cf1493d3ccfb0c6d9209e4922 upstream.

As per Mentor Graphics' documentation, we should
always handle TX endpoints before RX endpoints.

This patch fixes that error while also updating
some hard-to-read comments which were scattered
around musb_interrupt().

This patch should be backported as far back as
possible since this error has been in the driver
since it's conception.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[bwh: Backported to 3.2: adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found