]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc2: gadget: Prevent handling of host interrupts
authorVardan Mikayelyan <mvardan@synopsys.com>
Thu, 28 Apr 2016 03:20:48 +0000 (20:20 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 28 Apr 2016 06:41:01 +0000 (09:41 +0300)
commitee3de8d750134703c702534173cd8623d1b32c38
treede0a37c011eed70b43a326005092cd2d591c0ef8
parent8c3d609275f7f39d308e5c40a6220c67454f7a28
usb: dwc2: gadget: Prevent handling of host interrupts

In host slave mode, the core asserts the rxready, txfifoempty interrupts
that get serviced in the gadget irq handler. Prevent servicing of these
when not in the gadget mode of operation.

Signed-off-by: Vardan Mikayelyan <mvardan@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