usb: dwc2: gadget: Fixes for StsPhseRcvd interrupt
authorVahram Aharonyan <vahrama@synopsys.com>
Tue, 15 Nov 2016 03:16:29 +0000 (19:16 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:45 +0000 (13:54 +0200)
commit9d9a6b07ebf5e5f0d72f54e310be881be7ae0803
treeef794f17b040b08ee64c8c6ea947287542f0619c
parentaa3e8bc81311ec392821dfc1c8ce7aa23021ad64
usb: dwc2: gadget: Fixes for StsPhseRcvd interrupt

The StsPhseRcvd interrupt should not be enabled in slave mode.

Also move the StsPhsRcvd interrupt checking in the endpoint interrupt
handler to the correct order according to the databook. The interrupt
itself will be implemented in a later commit.

Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c