Re: [PATCH V2 2/4] usb: gadget: configfs: Create control_config group

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

 



Sorry I must have messed up in-reply-to. Patch 1 was sent here:
https://www.spinics.net/lists/linux-usb/msg167994.html. It didn't need a V2
and so I didn't resend it.

--Jerry
On Tue, May 15, 2018 at 11:15 PM Felipe Balbi <balbi@xxxxxxxxxx> wrote:

> Jerry Zhang <zhangjerry@xxxxxxxxxx> writes:

> > Control_config is a group under gadget that acts
> > as a normal config group, except it does not
> > appear in cdev->configs.
> >
> > Functions that have exactly zero descriptors can
> > be linked into control_config. These functions
> > are bound and unbound with the rest of the gadget,
> > but are never enabled. Also, functions with zero
> > descriptors cannot be used in real configs.
> >
> > Create configfs_setup(), which will first attempt
> > composite setup. If that fails, it will go through
> > functions in control_config and use req_match to
> > find and deliver the request to a function that can
> > handle it.
> >
> > This allows the user to create a functionfs instance
> > dedicated to handling non-standard control requests
> > no matter what functions or configurations are
> > currently active.
> >
> > Signed-off-by: Jerry Zhang <zhangjerry@xxxxxxxxxx>

> I didn't get patch 1

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