diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-04-28 02:00:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 13:03:31 -0400 |
commit | fd05e720099e8eeddb378305d1a41c1445344b91 (patch) | |
tree | d617918be290b47b35822bc3cf21c8f01dde5dd2 /drivers/usb/serial/ftdi_sio.c | |
parent | 01d7b369887b6feb7c9ce2b20988fafe3f70841c (diff) |
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>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 23f51a41093e..c7329f43d9c9 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -1104,7 +1104,7 @@ static int ftdi_mtxorb_hack_setup(struct usb_serial *serial) | |||
1104 | struct usb_endpoint_descriptor *ep_desc = &ep->desc; | 1104 | struct usb_endpoint_descriptor *ep_desc = &ep->desc; |
1105 | 1105 | ||
1106 | if (ep->enabled && ep_desc->wMaxPacketSize == 0) { | 1106 | if (ep->enabled && ep_desc->wMaxPacketSize == 0) { |
1107 | ep_desc->wMaxPacketSize = 0x40; | 1107 | ep_desc->wMaxPacketSize = cpu_to_le16(0x40); |
1108 | info("Fixing invalid wMaxPacketSize on read pipe"); | 1108 | info("Fixing invalid wMaxPacketSize on read pipe"); |
1109 | } | 1109 | } |
1110 | 1110 | ||