]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: gadget: check interrupts for all endpoints
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Fri, 9 Jan 2015 12:38:51 +0000 (13:38 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:33:22 +0000 (15:33 -0600)
commitcec87f1d2686057654e4565b8eaab4f539e9afca
treee87355622a2477b24fda3c1601a9f8b6e98a6333
parentc6f5c050e2a7f6776ffa5594b6b2eedbf0137fe8
usb: dwc2: gadget: check interrupts for all endpoints

Current code does not check endpoint 15 interrupt. Use number
of endpoint configured in hardware instead of the hardcoded value.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c