usb: dwc3: gadget: use num_(in|out)_eps from HW params
authorFelipe Balbi <balbi@ti.com>
Thu, 5 May 2011 13:21:59 +0000 (16:21 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:02 +0000 (11:18 +0200)
commit6a1e3ef45fb0c4d79cbb5190c8fc59263c630b0e
treebdae74e5a79fcedf2521c4faeaa04ca15710913b
parent789451f6c698282d0745f265bde47173c9372867
usb: dwc3: gadget: use num_(in|out)_eps from HW params

that way we will only tell gadget framework about
the endpoints we actually have.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c