usb: dwc3: warn on once when no trbs
authorJanusz Dziedzic <januszx.dziedzic@linux.intel.com>
Wed, 9 Nov 2016 10:01:35 +0000 (11:01 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:15 +0000 (13:54 +0200)
commitf2694a93e0df86e89a2d1743d413bf1bf5d2da50
treed0b712eb3be0460ced434acfd2eed1d36b399e6a
parent87aba10639b083dacdd13b43557649b3d001c4b4
usb: dwc3: warn on once when no trbs

Seems last time we hit few issues where
we get trb_left = 0, mainly because of
HWO bit still set in previous TRB.
Add warn on once to catch/fix such
problems much faster.

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