[PATCH] musb: move usb_add_hcd to the core init code from gadget code (v2)
Sergei Shtylyov
sshtylyov at mvista.com
Fri Jul 23 15:28:41 UTC 2010
Hello.
Bryan Wu wrote:
> BugLink: http://bugs.launchpad.net/bugs/608312
> v2:
> fix the building error on latest 2.6.35-rc kernel, since v1 was generated in
> 2.6.33 kernel.
The remarks about patch changes should follow the --- tear line.
> v1:
> usb_add_hcd was only called when we insmod the gadget class module or built-in
> that gadget class driver. If musb is configured as OTG controller, we need to
> insmod or built-in gadget class driver to make our Host mode fucntion works.
> In our Ubuntu system, normally we compiled all the gadget class drivers as
> modules. Then users can insmod the gadget modules as they want. But without the
> gadget class driver running, we needs host function to support common USB
> devices.
> This patch fix this issue and tested on omap3 beagle board and Gumstix board.
> Signed-off-by: Bryan Wu <bryan.wu at canonical.com>
WBR, Sergei
More information about the kernel-team
mailing list