From: Ajay Kumar Gupta Date: Wed, 14 Mar 2012 12:03:35 +0000 (+0530) Subject: usb: musb: fix bug in musb_cleanup_urb X-Git-Tag: v3.4-rc4~14^2~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=692933b2ccfce02400dc8360a97acde2846e8541;p=pandora-kernel.git usb: musb: fix bug in musb_cleanup_urb Control transfers with data expected from device to host will use usb_rcvctrlpipe() for urb->pipe so for such urbs 'is_in' will be set causing control urb to fall into the first "if" condition in musb_cleanup_urb(). Fixed by adding logic to check for non control endpoints. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed