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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 11 Jun 2014 09:02:19 +0000 (11:02 +0200)
commitc7cdee1171238b588825499222fa43e96de0e508
treeb25919e9673e2200013fd28ba34dba23dcc86b81
parent530436e92909ba2186efd2fb17d574157174f178
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