usb: dwc3: gadget: read IN ep FIFO size from HW
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 23 Jan 2017 16:01:59 +0000 (18:01 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 25 Jan 2017 10:49:00 +0000 (12:49 +0200)
commit28781789051ef65ced5dbc40734bfacb5e1e8ea4
tree8fef6c9a46ee8c698135e3c7ea826558400e54ad
parent3c6aea7344c363f298bfb9952e2906b9574f59dc
usb: dwc3: gadget: read IN ep FIFO size from HW

Instead of assuming all IN endpoints support 1024
bytes, let's read the actual value from HW and pass
that to gadget API.

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