]> git.baikalelectronics.ru Git - kernel.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)
commit15200169ef7cc3bbce656a494111199a5712f8bf
treec871cc0fcb74b6f4d0794b5dac0719436c8dfed8
parentca32ff4de25f4b1b123314cab50e96cb270420f3
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