summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Balbi2015-02-25 21:48:50 +0100
committerFelipe Balbi2015-03-10 21:33:26 +0100
commitb2c7361bd07f94e6280507a20e0541870d5d7a1a (patch)
tree50fa12739a53110c1b241fb6589a6f80d879be80 /drivers/usb/musb
parentusb: musb: core: remove unnecessary reg access from resume IRQ (diff)
downloadkernel-qcow2-linux-b2c7361bd07f94e6280507a20e0541870d5d7a1a.tar.gz
kernel-qcow2-linux-b2c7361bd07f94e6280507a20e0541870d5d7a1a.tar.xz
kernel-qcow2-linux-b2c7361bd07f94e6280507a20e0541870d5d7a1a.zip
usb: musb: core: there is no connect interrupt in peripheral mode
MUSB does not generate a connect IRQ when working in peripheral mode. Tested-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 3fb7d6e032f1..7ac69799a1db 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -761,10 +761,6 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb,
musb->ep0_stage = MUSB_EP0_START;
- /* flush endpoints when transitioning from Device Mode */
- if (is_peripheral_active(musb)) {
- /* REVISIT HNP; just force disconnect */
- }
musb->intrtxe = musb->epmask;
musb_writew(musb->mregs, MUSB_INTRTXE, musb->intrtxe);
musb->intrrxe = musb->epmask & 0xfffe;