usb: gadget: u_ether: conditionally align transfer size
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 22 Mar 2017 11:25:18 +0000 (13:25 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:21 +0000 (10:58 +0300)
commit387f869d2579e379ee343f5493dcd360be60f5c6
tree361898ea6398bf3f96a22866777e2f1bea206a13
parentfea14e68ff5e110c21f57278883c8cc4637c3f92
usb: gadget: u_ether: conditionally align transfer size

Unless HW sets quirk_ep_out_aligned_size, gadget driver shouldn't make
any efforts towards aligning transfers. If the UDC needs, it *must*
set the quirk flag.

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