usb: musb: gadget: add musb_match_ep() function
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 6 Aug 2015 12:11:15 +0000 (14:11 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Aug 2015 14:35:11 +0000 (09:35 -0500)
commit26b8aa458c7d99181ceb07f27da9bd7d94185e35
tree2a2b9230f01000c70a560cac5114bc82b1ec0e69
parent8cc67b7bff2fc1adfd080233d35aacba4411cf87
usb: musb: gadget: add musb_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/musb/musb_gadget.c