summaryrefslogtreecommitdiff
path: root/drivers/usb/usb_ohci.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-27 12:56:01 +0200
committerWolfgang Denk <wd@denx.de>2008-05-27 12:56:01 +0200
commit1f1554841a4c8e069d331176f0c3059fb2bb8280 (patch)
tree43a492b3f604adedc0ccc3a6432549681375b64f /drivers/usb/usb_ohci.c
parent791e1dba8de76ad8e762a7badb869f224a1f8b82 (diff)
parentc918261c6d9f265f88baf70f8a73dfe6f0cb9596 (diff)
downloadu-boot-imx-1f1554841a4c8e069d331176f0c3059fb2bb8280.zip
u-boot-imx-1f1554841a4c8e069d331176f0c3059fb2bb8280.tar.gz
u-boot-imx-1f1554841a4c8e069d331176f0c3059fb2bb8280.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Conflicts: include/configs/socrates.h Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/usb/usb_ohci.c')
-rw-r--r--drivers/usb/usb_ohci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/usb_ohci.c b/drivers/usb/usb_ohci.c
index 318478a..fd60edb 100644
--- a/drivers/usb/usb_ohci.c
+++ b/drivers/usb/usb_ohci.c
@@ -1221,9 +1221,9 @@ pkt_print(NULL, dev, pipe, buffer, transfer_len, cmd, "SUB(rh)", usb_pipein(pipe
}
bmRType_bReq = cmd->requesttype | (cmd->request << 8);
- wValue = cpu_to_le16 (cmd->value);
- wIndex = cpu_to_le16 (cmd->index);
- wLength = cpu_to_le16 (cmd->length);
+ wValue = le16_to_cpu (cmd->value);
+ wIndex = le16_to_cpu (cmd->index);
+ wLength = le16_to_cpu (cmd->length);
info("Root-Hub: adr: %2x cmd(%1x): %08x %04x %04x %04x",
dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength);