]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 6 Mar 2017 08:09:37 +0000 (10:09 +0200)
commit2bfa0719ac2a9b2f3c91345873d3cdebd0296ba9
treec2127339c9008b629a6da691a3f77ff57f12126b
parent7369090a9fb57c3fc705ce355d2e4523a5a24716
usb: gadget: function: f_fs: pass companion descriptor along

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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_fs.c