Bo Shen aa7be0f8f7 usb: gadget: at91: fix the number of endpoint parameter
In sama5d3 SoC, there are 16 endpoints, which is different with
earlier SoCs (only have 7 endpoints). The USBA_NR_ENDPOINTS macro
is not suitable for sama5d3. So, get the endpoints number through
the udc->num_ep, which get from platform data for non-dt kernel,
or parse from dt node.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-02-19 13:46:48 -06:00
..
2014-02-18 10:53:02 -06:00
2013-11-26 13:41:32 -06:00
2013-11-26 13:41:32 -06:00
2013-12-17 13:17:43 -06:00
2013-07-30 11:18:46 +03:00
2013-11-26 13:41:32 -06:00
2013-11-26 13:41:32 -06:00
2013-12-19 09:18:53 -06:00