commit | cb39a969f8dd56d5449ce6b820fbfff2f33b774e | [log] [tgz] |
---|---|---|
author | Vignesh Raghavendra <vigneshr@ti.com> | Tue Oct 01 17:26:31 2019 +0530 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Thu Nov 07 00:24:59 2019 +0100 |
tree | eefc5d1229c93ed6afa73860f8d33137449500b7 | |
parent | e959b3b2de48abd807b64282c763419379571fa8 [diff] |
usb: gadget: Add match_ep() op to usb_gadget_ops Add match_ep() op to usb_gadget_ops similar to Linux kernel which is useful in finding a suitable ep match for the function driver. This will avoid adding more gadget_is_xxx() handling code to usb_ep_autoconfig(). Also sync usb_ep_caps struct thats is usually used in the match_ep() callback by the gadget controller driver Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>