usb: gadget: goku_udc: add goku_match_ep() function
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 6 Aug 2015 12:11:14 +0000 (14:11 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Aug 2015 14:34:46 +0000 (09:34 -0500)
commit8cc67b7bff2fc1adfd080233d35aacba4411cf87
tree762dbc9951aab14ce959043c5f7151f71c2aa24f
parent3e8b231818c25a250c36f8bfb944aa1fd2b13396
usb: gadget: goku_udc: add goku_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.

[ balbi@ti.com : fix build breakage ]

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/goku_udc.c