]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: get rid of DWC3_TRB_MASK
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 5 Apr 2016 09:47:15 +0000 (12:47 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 19 Apr 2016 08:10:45 +0000 (11:10 +0300)
commit70fdb273db37196e9e5d292d5778a99fededb32f
treeb32e439346410299192d1c68bc54df42446b4a48
parentc28f82595dde97dda0b769f78f0faea78acd993b
usb: dwc3: get rid of DWC3_TRB_MASK

instead of using a bitwise and, let's rely on the %
operator since that's a lot more clear. Also, GCC
will optimize % 256 to nothing anyway.

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