]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: udc: mv: remove unnecessary & operation
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 11:17:38 +0000 (14:17 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:28 +0000 (10:38 +0200)
commit9d8ee9c4b65176dd7e79b444d6da0288edca2efc
treebc18fde58e8245a0129b8acbb531f1097a2f9d94
parent0eb862e9c4f7a6a3abee25bc561ffdbe3d57a9d1
usb: gadget: udc: mv: remove unnecessary & operation

Now that usb_endpoint_maxp() only returns the lowest
11 bits from wMaxPacketSize, we can remove the &
operation from this driver.

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