* [PATCH 2/7] USB: gadget: Increase reset timeout in s3c-hsotg
@ 2010-03-08 18:38 Maurus Cuelenaere
0 siblings, 0 replies; only message in thread
From: Maurus Cuelenaere @ 2010-03-08 18:38 UTC (permalink / raw)
To: linux-arm-kernel
Increase the timeout when waiting for CSftRst to become deasserted.
This removes the "reset failed" message on SmartQ 5/7 machines.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
---
drivers/usb/gadget/s3c-hsotg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 4b5dbd0..6c04c3c 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -2397,7 +2397,7 @@ static int s3c_hsotg_corereset(struct s3c_hsotg *hsotg)
return -EINVAL;
}
- timeout = 1000;
+ timeout = 10000;
while (1) {
u32 grstctl = readl(hsotg->regs + S3C_GRSTCTL);
--
1.7.0.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-08 18:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 18:38 [PATCH 2/7] USB: gadget: Increase reset timeout in s3c-hsotg Maurus Cuelenaere
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).