usb: dwc3: core: add fifo space helper
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 14 Apr 2016 12:03:39 +0000 (15:03 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 19 Apr 2016 08:11:57 +0000 (11:11 +0300)
commitcf6d867d3b57d4eca229b3c506216d98d88be49c
tree238bf69d08a53fec016819fc1d69423647c69364
parent097aa1975e9a5b189d4c6fbc95c0f97e2c49c01e
usb: dwc3: core: add fifo space helper

this helper will be used, initially, to dump space
of different queues and fifos in dwc3 to
debugfs. Later, it'll be used to issue remote wakeup
when we want to start a transfer and there's
something in a TX FIFO.

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