summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/musb_hcd.h
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2009-06-16 05:26:27 -0400
committerRemy Bohmer <linux@bohmer.net>2009-07-09 21:33:15 +0200
commitc3a012ce65818beb274195cd47f31ed80d0fbaa5 (patch)
tree09c1dfd5704e172da4ac25607b57a4eb79492e53 /drivers/usb/musb/musb_hcd.h
parent7984967a9405672db1581402d2c2cfae268d1a67 (diff)
downloadu-boot-imx-c3a012ce65818beb274195cd47f31ed80d0fbaa5.zip
u-boot-imx-c3a012ce65818beb274195cd47f31ed80d0fbaa5.tar.gz
u-boot-imx-c3a012ce65818beb274195cd47f31ed80d0fbaa5.tar.bz2
usb: musb: add timeout via CONFIG_MUSB_TIMEOUT
Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'drivers/usb/musb/musb_hcd.h')
-rw-r--r--drivers/usb/musb/musb_hcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_hcd.h b/drivers/usb/musb/musb_hcd.h
index bb83311..b7f571d 100644
--- a/drivers/usb/musb/musb_hcd.h
+++ b/drivers/usb/musb/musb_hcd.h
@@ -30,6 +30,10 @@
extern unsigned char new[];
#endif
+#ifndef CONFIG_MUSB_TIMEOUT
+# define CONFIG_MUSB_TIMEOUT 100000
+#endif
+
/* This defines the endpoint number used for control transfers */
#define MUSB_CONTROL_EP 0