]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: f_fs: Add flags to descriptors block
authorMichal Nazarewicz <mina86@mina86.com>
Fri, 28 Feb 2014 11:20:23 +0000 (16:50 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:11 +0000 (14:40 -0600)
commitac8dde11f2b397fe2282f585d5eb427a13675ea2
treec871cc0fcb74b6f4d0794b5dac0719436c8dfed8
parent8d4e897bd0150fab594a871484e554472ee01452
usb: gadget: f_fs: Add flags to descriptors block

This reworks the way SuperSpeed descriptors are added and instead of
having a magic after full and high speed descriptors, it reworks the
whole descriptors block to include a flags field which lists which
descriptors are present and makes future extensions possible.

Signed-off-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