]> git.baikalelectronics.ru Git - kernel.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)
commitc0a3741313128bdc50cc9c6b4caaf12b58ba499c
treede0a37c011eed70b43a326005092cd2d591c0ef8
parent3a2cc89908945f5d207a47f539d02b3af58ccf2a
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