Searched hist:"0943909 d366fe9396d611764901fa2bf8e5d0b59" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | epautoconf.c | 0943909d366fe9396d611764901fa2bf8e5d0b59 Tue Oct 01 11:56:31 UTC 2019 Vignesh Raghavendra <vigneshr@ti.com> UPSTREAM: 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
Change-Id: I94fe5d1b3ae984cbf3f6e10f86020191d8ca8090 Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 77dcbdf3c1ce96de19c00caca0766b5bbaa0cf28)
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | gadget.h | 0943909d366fe9396d611764901fa2bf8e5d0b59 Tue Oct 01 11:56:31 UTC 2019 Vignesh Raghavendra <vigneshr@ti.com> UPSTREAM: 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
Change-Id: I94fe5d1b3ae984cbf3f6e10f86020191d8ca8090 Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 77dcbdf3c1ce96de19c00caca0766b5bbaa0cf28)
|