drivers/usb annotations and fixes
* endianness annotations * endianness fixes * missing get_unaligned/put_unaligned It's pretty much all over the place, changes to different files are independent. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Serial-parts-Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -1104,7 +1104,7 @@ static int ftdi_mtxorb_hack_setup(struct usb_serial *serial)
|
||||
struct usb_endpoint_descriptor *ep_desc = &ep->desc;
|
||||
|
||||
if (ep->enabled && ep_desc->wMaxPacketSize == 0) {
|
||||
ep_desc->wMaxPacketSize = 0x40;
|
||||
ep_desc->wMaxPacketSize = cpu_to_le16(0x40);
|
||||
info("Fixing invalid wMaxPacketSize on read pipe");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user