projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a73be04
)
hso: driver fix for big endian machines.
author
Denis Joseph Barrow
<D.Barow@option.com>
Tue, 13 Jan 2009 05:56:49 +0000
(21:56 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Jan 2009 05:56:49 +0000
(21:56 -0800)
Filip Aben says this fix is neccessary for big endian machines.
Signed-off-by: Denis Joseph Barrow <D.Barow@option.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/hso.c
b/drivers/net/usb/hso.c
index c4918b86ed193cb4647510b950e114d952a627fd..d17dc5214c9af483ab83c712926f5c0b82c210e8 100644
(file)
--- a/
drivers/net/usb/hso.c
+++ b/
drivers/net/usb/hso.c
@@
-1792,8
+1792,8
@@
static int mux_device_request(struct hso_serial *serial, u8 type, u16 port,
/* initialize */
ctrl_req->wValue = 0;
- ctrl_req->wIndex =
hso_port_to_mux(port
);
- ctrl_req->wLength =
size
;
+ ctrl_req->wIndex =
cpu_to_le16(hso_port_to_mux(port)
);
+ ctrl_req->wLength =
cpu_to_le16(size)
;
if (type == USB_CDC_GET_ENCAPSULATED_RESPONSE) {
/* Reading command */