aboutsummaryrefslogtreecommitdiff
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorRobert Baldyga <[email protected]>2015-08-06 14:11:10 +0200
committerFelipe Balbi <[email protected]>2015-08-06 09:31:45 -0500
commit596c154d62330ea0bb4e3c3e50afa3682e50b617 (patch)
treec11473878bca679d2c70d49116a6c6821b5bba84 /include/linux/netdev_features.h
parent26bf956aa9952a8141a12f314df70dcd020572d6 (diff)
usb: gadget: add 'ep_match' callback to usb_gadget_ops
Add callback that is called by epautoconf to allow UDC driver match the best endpoint for specific descriptor. It's intended to supply mechanism which allows to get rid of chip-specific endpoint matching code from epautoconf. If gadget has set 'ep_match' callback we prefer to call it first, and if it fails to find matching endpoint, then we try to use default matching algorithm. Signed-off-by: Robert Baldyga <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions