Re: [PATCH 0/3] Adding a hook for config data

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

 



Hi,

On Sat, Jun 25, 2011 at 01:34:11AM +0530, Jassi Brar wrote:
>  Currently there is no way for a gadget driver to save pointer to resources
> (which may be common to more than one function) that it allocates during
>  config bind.
> 
>  Even single-function configurations have to free such data in function's
> unbind callback. Which isn't very correct, because we have a situation where
> call to a structure's member callback frees the space occupied by parent
> structure.
> 
>  Patch-1 adds a new hook to 'struct usb_configuration'
>  Patch-2,3 converts Zero and Webcam gadget drivers for a start.
> 
>  Other gadgets could be converted(though not necessary) as and when
> interest arise.
> 
>   1) USB: Gadget: Add private data hook for config
>   2) USB: Gadget: Zero: Free resources in config unbind
>   3) USB: Gadget: Webcam: Free resources in config unbind

I'm delaying this for the other merge window. We already have too much
going in and this is too late for me to test it all over again.

-- 
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