linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* fsl_udc_core not initializing properly?
@ 2011-02-18 22:03 Matthew L. Creech
  2011-02-19  8:52 ` Anatolij Gustschin
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew L. Creech @ 2011-02-18 22:03 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

I'm upgrading from 2.6.36 to 2.6.37 on a MPC8313 ERDB-like board.  On
the new kernel, it seems like the USB gadget driver (fsl_usb2_udc) is
never initialized, so USB no longer works.

Adding some printks to the code shows that udc_init() is being run,
which calls platform_driver_probe().  However, fsl_udc_probe() is
never actually called afterward.  As a result, 'udc_controller' is
left NULL, and the subsequent call to usb_gadget_probe_driver()
returns -ENODEV.

I'm not familiar with the USB driver model, and tracing backward
through the call chains didn't reveal much, so I was hoping someone
here would have a better idea what could've changed between 2.6.36 and
2.6.37 that broke fsl_udc_core/fsl_usb2_udc.  Thanks!

-- 
Matthew L. Creech

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-14 15:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 22:03 fsl_udc_core not initializing properly? Matthew L. Creech
2011-02-19  8:52 ` Anatolij Gustschin
2011-02-19 18:01   ` Matthew L. Creech
2011-03-10 18:46     ` Matthew L. Creech
2011-03-11 13:27       ` Anatolij Gustschin
2011-03-12  8:00       ` Anatolij Gustschin
2011-03-14 15:47         ` Matthew L. Creech

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).