]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: f_fs: Add support for CCID descriptors.
authorVincent Pelletier <plr.vincent@gmail.com>
Tue, 9 Oct 2018 14:43:18 +0000 (14:43 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:06:32 +0000 (09:06 +0200)
commit7f7c548c5f652375a61c1072bac3db11f7a48326
tree6ebb1e24a786afc48ab4b92d5373e2a04f60e8d6
parent4ab9c39f038d929845f70aade2c2eb64174bba87
usb: gadget: f_fs: Add support for CCID descriptors.

Nothing to remap, only check length.
Define a minimal structure for CCID descriptor only used to check length.
As this descriptor shares the same value as HID descriptors, keep track and
compare current interface's class to expected HID and CCID standard values.

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_fs.c
include/linux/usb/ccid.h [new file with mode: 0644]