From: Felipe Balbi Date: Mon, 30 Dec 2013 18:33:53 +0000 (-0600) Subject: usb: musb: core: fix TX/RX endpoint order X-Git-Tag: v3.2.70~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a3b3037c59087b07f61c2b981382df479c9902;p=pandora-kernel.git usb: musb: core: fix TX/RX endpoint order 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 [bwh: Backported to 3.2: adjust context, indentation] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed