[PATCH] musb: move usb_add_hcd to the core init code from gadget code (v2)
Bryan Wu
bryan.wu at canonical.com
Fri Jul 30 04:53:03 UTC 2010
On 07/23/2010 11:28 PM, Sergei Shtylyov wrote:
> 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.
>
Thanks Sergei, I will take care of it in the future.
Any other comments about this patch?
Felipe, could you please take a look? or need I ping you in the Facebook, -:))
-Bryan
>> 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