diff options
author | David Cohen <david.a.cohen@linux.intel.com> | 2013-12-09 15:55:35 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-09 22:44:05 -0600 |
commit | 0b2d2bbade59ab2067f326d6dbc2628bee227fd5 (patch) | |
tree | 8897b37afb209edd04aa0f5773493ec057a6f2ea /fs/nls/mac-iceland.c | |
parent | d8318d7f6bd08eba36ed2a7a23ac5389115958bc (diff) | |
download | linux-0b2d2bbade59ab2067f326d6dbc2628bee227fd5.tar.gz |
usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget
Due to USB controllers may have different restrictions, usb gadget layer
needs to provide a generic way to inform gadget functions to complain
with non-standard requirements.
This patch adds 'quirk_ep_out_aligned_size' field to struct usb_gadget
to inform when controller's epout requires buffer size to be aligned to
MaxPacketSize. A helper is also provided to align buffer size when
necessary.
Cc: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'fs/nls/mac-iceland.c')
0 files changed, 0 insertions, 0 deletions