diff mbox

OMAP L138 EVM kernel 3.4.0 USB don't work

Message ID 4FE7FDFF.70100@denx.de (mailing list archive)
State Not Applicable
Headers show

Commit Message

Heiko Schocher June 25, 2012, 5:58 a.m. UTC
Hello jose,

On 20.06.2012 14:46, jose.ventura at efacec.com wrote:
> I am trying to put some USB devices connected to OMAP L138 Logic EVM
> using kernel 3.4.0 and none is detected, on USB 2.0 and USB 1.0
> interfaces.
>
> After boot a dmesg | grep usb return:
>
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
[...]
> With kernel 2.6.37 usb works on both USB interfaces. Anyone know about
> any regression or is my kernel configuration wrong?

Maybe it is worth to try the patch, resulted from the discussion here:

http://comments.gmane.org/gmane.linux.usb.general/54505


bye,
Heiko
diff mbox

Patch

diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index a3036b5..b1f50b0 100644
--- a/drivers/usb/musb/da8xx.c
+++ b/drivers/usb/musb/da8xx.c
@@ -447,6 +445,7 @@  static int da8xx_musb_init(struct musb *musb)
                  rev, __raw_readl(CFGCHIP2),
                  musb_readb(reg_base, DA8XX_USB_CTRL_REG));

+	musb->a_wait_bcon = OTG_TIME_A_WAIT_BCON;
         musb->isr = da8xx_musb_interrupt;
         return 0;
  fail: