]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: gadget: function: f_fs: pass companion descriptor along
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 31 Jan 2017 12:54:45 +0000 (14:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Mar 2017 11:18:41 +0000 (19:18 +0800)
commitd60b1053a5bbc89f2a728cf92ebc16586f307d66
tree650f143e8f097f859e2cc4063c2e0105be06414f
parenta0f69738c10e7f5bec6ecb85280c94d92207f1d9
usb: gadget: function: f_fs: pass companion descriptor along

commit 2bfa0719ac2a9b2f3c91345873d3cdebd0296ba9 upstream.

If we're dealing with SuperSpeed endpoints, we need
to make sure to pass along the companion descriptor
and initialize fields needed by the Gadget
API. Eventually, f_fs.c should be converted to use
config_ep_by_speed() like all other functions,
though.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_fs.c