On Fri, Mar 14, 2014 at 01:51:52PM -0500, [email protected] wrote:
> From: Dinh Nguyen <[email protected]>
> 
> Modify the dwc2 Kconfig and Makefile so that it will build the dwc2_gadget
> driver when peripheral only mode is selected. The dwc_platform.ko and dwc2.ko
> will get built when dynamic linked modules are selected for Host mode. For
> peripheral mode only dwc2_gadget.ko will get built.
> 
> NOTE: You can build both host and peripheral as a dynamically linked module,
> but be aware that if you insmod dwc2_gadget, then rmmod it, then insmod
> dwc2 and dwc2_platform for host mode, this will not work. As the step to
> rmmod dwc2_gadget.ko will turn off the clock to the USB IP. The dwc2 host
> driver currently does not look to turn on a clock yet. A patch to fix that
> will be coming soon.
> 
> Signed-off-by: Dinh Nguyen <[email protected]>
> Tested-by: Jingoo Han <[email protected]>
> Tested-by: Paul Zimmerman <[email protected]>
> Cc: Greg Kroah-Hartman <[email protected]>
> Cc: Felipe Balbi <[email protected]>
> Cc: Ben Dooks <[email protected]>
> Cc: Matt Porter <[email protected]>
> Cc: Kukjin Kim <[email protected]>
> Cc: Stephen Warren <[email protected]>
> Cc: Matthijs Kooijman <[email protected]>
> Cc: Sachin Kamat <[email protected]>
> Cc: Robert Baldyga <[email protected]>
> Cc: Federico Vaga <[email protected]>

Acked-by: Felipe Balbi <[email protected]>

-- 
balbi

Attachment: signature.asc
Description: Digital signature

Reply via email to