summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-05-28 19:47:15 +0200
committerWolfgang Denk <wd@denx.de>2010-05-28 19:47:15 +0200
commit6e85d07a857148405b1c52c86d97200c7155c3f2 (patch)
treeec70bb27aeb893bda99857c3a47d6e42e00ac124
parentc941b77adc40f344215e367b3d1fc638addff870 (diff)
parentd0fe1128c4451327b9cb0fac1a76efd194b078b5 (diff)
downloadu-boot-imx-6e85d07a857148405b1c52c86d97200c7155c3f2.zip
u-boot-imx-6e85d07a857148405b1c52c86d97200c7155c3f2.tar.gz
u-boot-imx-6e85d07a857148405b1c52c86d97200c7155c3f2.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-usb
-rw-r--r--include/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h
index a1f09d4..bc4ccfe 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -259,7 +259,7 @@ int usb_set_interface(struct usb_device *dev, int interface, int alternate);
*/
/* Create various pipes... */
#define create_pipe(dev,endpoint) \
- (((dev)->devnum << 8) | (endpoint << 15) | \
+ (((dev)->devnum << 8) | ((endpoint) << 15) | \
((dev)->speed << 26) | (dev)->maxpacketsize)
#define default_pipe(dev) ((dev)->speed << 26)