usb: dwc3: gadget: combine unaligned and zero flags
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 1 Aug 2018 10:15:05 +0000 (13:15 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:08:29 +0000 (09:08 +0200)
commit1a22ec643580626f439c8583edafdcc73798f2fb
treec6a2a7210b48ca0e9cb3184b2ad8f0319fcb03f2
parentd92021f66063b30910255d70dc95e0d7b57f018f
usb: dwc3: gadget: combine unaligned and zero flags

Both flags are used for the same purpose in dwc3: appending an extra
TRB at the end to deal with controller requirements. By combining both
flags into one, we make it clear that the situation is the same and
that they should be treated equally.

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