diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 4b5dbd0..2bed3a8 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); @@ -2698,7 +2698,8 @@ static void s3c_hsotg_otgreset(struct s3c_hsotg *hsotg) writel(0, S3C_PHYPWR); mdelay(1); - osc = hsotg->plat->is_osc ? S3C_PHYCLK_EXT_OSC : 0; + //osc = hsotg->plat->is_osc ? S3C_PHYCLK_EXT_OSC : 0; + osc = 0x02; writel(osc | 0x10, S3C_PHYCLK);