Skip to content
Commit 77dcbdf3 authored by Vignesh Raghavendra's avatar Vignesh Raghavendra Committed by Marek Vasut
Browse files

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: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent c93e305a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment