summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/epautoconf.c
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-07-31 16:00:50 +0200
committerFelipe Balbi <balbi@ti.com>2015-08-04 19:27:15 +0200
commitb58713d53a8f41d57b24c93de0b1c7e9550ba70f (patch)
treece605fd6b91ad7344449314f6d463261775ebd5a /drivers/usb/gadget/epautoconf.c
parentusb: gadget: epautoconf: add endpoint capabilities flags verification (diff)
downloadlinux-b58713d53a8f41d57b24c93de0b1c7e9550ba70f.tar.xz
linux-b58713d53a8f41d57b24c93de0b1c7e9550ba70f.zip
usb: gadget: epautoconf: remove pxa quirk from ep_matches()
The same effect can be achieved by using capabilities flags, so now we can get rid of handling of hardware specific limitations in generic code. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/epautoconf.c')
-rw-r--r--drivers/usb/gadget/epautoconf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index af4b10a9068e..4f66e9d733cd 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -58,11 +58,6 @@ ep_matches (
*/
if (!ep->caps.type_int && !ep->caps.type_bulk)
return 0;
- /* for now, avoid PXA "interrupt-in";
- * it's documented as never using DATA1.
- */
- if (gadget_is_pxa(gadget) && ep->caps.type_int)
- return 0;
break;
}