]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: gadget: net2280: add net2280_match_ep() function
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 6 Aug 2015 12:11:13 +0000 (14:11 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Aug 2015 14:33:38 +0000 (09:33 -0500)
commit3e8b231818c25a250c36f8bfb944aa1fd2b13396
tree17605428f7e0f0a354e1eee4c731e50084d311c5
parentb0aea0037c8896b8e69cad3f6e828782789c1edf
usb: gadget: net2280: add net2280_match_ep() function

Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching
process. Function does the same that was done by chip-specific code inside
of epautoconf. Now this code can be removed from there to separate generic code
from platform specific logic.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/udc/net2280.c