Re: [v2] Introduce new-style bind for udcs

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

 



Hi,

On Thu, Jun 23, 2011 at 02:26:10PM +0200, Sebastian Andrzej Siewior wrote:
> The new style start calls the udc only to kick its internal and to very
> little house keeping. The udc-core does the bind and the connect call.
> This save some lines since every udc is doing this on its own. This will
> also ease removing the dev from struct gadget in a later step.
> While doing this I also re-worked the dummy_hcd in a few points to fit
> this infrastructure. It also removes the module parameter from dummy_hcd
> where the user was supposed to to enable SS by hand or else it won't bind
> to an SS device.
> This series was tested with dummy_hcd + g_zero for 2.0 part and with
> Tatyana's "usb:gadget: Introduce usb_generate_ss_descriptors()" +
> generate_ss_desc = 1 on g_zero and dummy_hcd for the 3.0 part. The device
> was passed to the correct hcd and was working with
> |./testusb -a -s 1024 -v 1024 -t 1
> on both speeds.
> 
> v1..v2:
> 	- dropped the two patches from dummy_hcd which always put dummy_hcd in
> 	  SS mode and kept the module parameters.
> 	- gadget->speed is now set post ->pull() also the max_stream property
> 	  is only initialized after ->pull() (no longer in probe).

applied this series, thanks

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux