From 9d49c81b7ebf7942efc14bc9533a14cb64cd68e6 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Gupta Date: Fri, 12 Jun 2009 19:07:13 +0530 Subject: [PATCH 14/16] musb: disable PING on status phase of control transfer PING token is not mandatory in status phase of control transfer so some high speed USB sticks doesn't support this.If such devices are connected to MUSB then they would not respond to PING token causing delayed or failed enumeration. Fixing this issue by disabling PING token in status phase of control transfers. Signed-off-by: Ajay Kumar Gupta --- drivers/usb/musb/musb_host.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index cf94511..4d301d2 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -1056,6 +1056,8 @@ irqreturn_t musb_h_ep0_irq(struct musb *musb) else csr = MUSB_CSR0_H_STATUSPKT | MUSB_CSR0_TXPKTRDY; + /* disable ping token in status phase */ + csr |= MUSB_CSR0_H_DIS_PING; /* flag status stage */ musb->ep0_stage = MUSB_EP0_STATUS; -- 1.6.2.4