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>
Tue, 18 Nov 2014 02:59:44 +0000 (11:59 +0900)
commit10a05e437c0b5e454eadfb933a8f81f9d59c1027
tree6a8a3f86ca415db6515ae51317399f5d1a71f300
parentb9fa721bc6c0e386a306f51a913505a5617e9eee
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