|
@@ -2197,7 +2197,7 @@ static int s3c_hsotg_corereset(struct s3c_hsotg *hsotg)
|
|
/* issue soft reset */
|
|
/* issue soft reset */
|
|
writel(GRSTCTL_CSftRst, hsotg->regs + GRSTCTL);
|
|
writel(GRSTCTL_CSftRst, hsotg->regs + GRSTCTL);
|
|
|
|
|
|
- timeout = 1000;
|
|
|
|
|
|
+ timeout = 10000;
|
|
do {
|
|
do {
|
|
grstctl = readl(hsotg->regs + GRSTCTL);
|
|
grstctl = readl(hsotg->regs + GRSTCTL);
|
|
} while ((grstctl & GRSTCTL_CSftRst) && timeout-- > 0);
|
|
} while ((grstctl & GRSTCTL_CSftRst) && timeout-- > 0);
|
|
@@ -2207,7 +2207,7 @@ static int s3c_hsotg_corereset(struct s3c_hsotg *hsotg)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
- timeout = 1000;
|
|
|
|
|
|
+ timeout = 10000;
|
|
|
|
|
|
while (1) {
|
|
while (1) {
|
|
u32 grstctl = readl(hsotg->regs + GRSTCTL);
|
|
u32 grstctl = readl(hsotg->regs + GRSTCTL);
|