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

2014-08-20 Thread Sergei Shtylyov
Hello. On 8/20/2014 9:46 AM, 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 [...] diff --git a/include/uapi/linux/usb/functionfs.h

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

2014-08-20 Thread Sergei Shtylyov
Hello. On 8/20/2014 9:46 AM, 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 r.bald...@samsung.com [...] diff --git

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

2014-08-19 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

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

2014-08-19 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 r.bald...@samsung.com --- drivers/usb/gadget/function/f_fs.c | 21 +