RE: [PATCHv5 4/4] usb: dwc2: Edit the Kconfig and Makefile to build dwc2_gadget driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: dinguyen@xxxxxxxxxx [mailto:dinguyen@xxxxxxxxxx]
> Sent: Friday, March 14, 2014 11:52 AM
> 
> From: Dinh Nguyen <dinguyen@xxxxxxxxxx>
> 
> 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.

Hi Dinh,

Sorry for the late response to this. The patch series looks OK to me,
except I didn't quite like the Kconfig and Makefile changes, so I have
redone those a little bit. Once the commit window for 3.15 opens, I will
send these patches on to Greg with my and Robert's acked-bys.

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux