]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: udc: atmel: 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:25 +0000 (10:38 +0200)
commit44fbbf1f837f99cae0970bd72fefd72d90d73016
tree162023bcb34181258b3da6b7475339c089e5074a
parent9ad587710a2f7704d47ddb49ce60c909be836c2b
usb: gadget: udc: atmel: remove unnecessary & operation

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

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/atmel_usba_udc.c