Re: [PATCH v5 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-08-24 Thread Michal Nazarewicz
On Thu, Aug 21 2014, Robert Baldyga wrote: > This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which > returns endpoint descriptor to userspace. It works only if function > is active. > > Signed-off-by: Robert Baldyga With the change described below: Acked-by: Michal Nazarewicz > --

[PATCH v5 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-08-21 Thread Robert Baldyga
This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/function/f_fs.c | 21 + include/uapi/linux/usb/functionfs.h | 6 ++ 2 fi