Re: [RFC PATCH 1/1] usb: udc-core: redo usb_gadget_probe_driver when the udc is ready

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

 



Hi Peter,

On 04/02/2014 10:47 AM, Peter Chen wrote:
> We have historic problem that the gadget will not work if the gadget
> is build-in and the udc driver is defered probe due to some
> resources are not ready. Below links are related to this problem.
> 
> http://marc.info/?l=linux-usb&m=139380872501745&w=2
> http://marc.info/?l=linux-usb&m=137991612311893&w=2
> http://marc.info/?l=linux-usb&m=137706435611447&w=2
> 
> This patch saves pointer of usb_gadget_driver when the udc is
> not ready, and redo usb_gadget_probe_driver when the udc is ready
> This method may not be good enough, but we need to find a way
> to fix this problem, so I post this RFC to see if to see comments,
> someone may have a better solution:)
> 

I have sent patch fixing this problem few weeks ago:
http://www.spinics.net/lists/linux-usb/msg102795.html

Best regards,
Robert Baldyga
--
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