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

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

 



Hi,

On Mon, Jun 27, 2011 at 02:39:12PM +0530, Jaswinder Singh wrote:
> On 27 June 2011 14:29, Felipe Balbi <balbi@xxxxxx> wrote:
> > 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.
> >
> 
> Take you time please.
> Just let me know which branch you have applied it in, so I can base my
> other patches upon.

new features to gadget framework, I apply to my gadget branch:
http://git.kernel.org/?p=linux/kernel/git/balbi/usb.git;a=shortlog;h=refs/heads/gadget

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