usb: dwc3: calculate number of event buffers dynamically
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Oct 2011 07:31:04 +0000 (10:31 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:48:11 +0000 (11:48 +0200)
commit9f622b2a407d8b34a5a7f5b4abd8b29b25cf4f32
treea80c6f48a8f1c4fd70d0865b027035d3f8e0d44e
parent6c167fc9b0c23ead791edb94cf4debb6b8e534b5
usb: dwc3: calculate number of event buffers dynamically

This will allow us to only allocate memory when
we actually need.

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