commit | 77dcbdf3c1ce96de19c00caca0766b5bbaa0cf28 | [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 | c93e305af72a344c66f467899b6277b4d3d94db9 [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>