usb: gadget: f_fs: Add support for SuperSpeed Mode
authorManu Gautam <mgautam@codeaurora.org>
Fri, 28 Feb 2014 11:20:22 +0000 (16:50 +0530)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:05 +0000 (14:32 +0900)
commit3566f4afde284e1687e0f4a0149cf736488a1b29
tree2395b7e5ba80d713ffb8a6ffbbbd6b9d000d897f
parent4c77b46f8376139c18bae549977fca3bb76a1f2b
usb: gadget: f_fs: Add support for SuperSpeed Mode

Allow userspace to pass SuperSpeed descriptors and
handle them in the driver accordingly.
This change doesn't modify existing desc_header and thereby
keeps the ABI changes backward compatible i.e. existing
userspace drivers compiled with old header (functionfs.h)
would continue to work with the updated kernel.

Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
[backport from upstream commit 8d4e897bd0150fab594a871484e554472ee01452]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-id: I8d4e897bd0150fab594a871484e554472ee01452
drivers/usb/gadget/f_fs.c
drivers/usb/gadget/u_fs.h
include/uapi/linux/usb/functionfs.h