usb: dwc3: calculate the number of endpoints
authorFelipe Balbi <balbi@ti.com>
Thu, 5 May 2011 12:53:10 +0000 (15:53 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:02 +0000 (11:18 +0200)
commit789451f6c698282d0745f265bde47173c9372867
tree6ce8ccfe373fee12134fb3c97c1e93d8400ef802
parent5f71791947fcb1942df7d0df45520d420c2aee2b
usb: dwc3: calculate the number of endpoints

hwparams2 holds the number of endpoints which
were selected during RTL generation, we can
use that on our driver.

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