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)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:10 +0000 (14:40 -0600)
commit8d4e897bd0150fab594a871484e554472ee01452
tree4dd06a720883cb617afd64df0146285a22d70282
parentd8eb6c653ef6b323d630de3c5685478469e248bc
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>
drivers/usb/gadget/f_fs.c
drivers/usb/gadget/u_fs.h
include/uapi/linux/usb/functionfs.h