mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
usb: remove usbphy reset 500ms wait [1/1]
PD#SWPL-4949 Problem: kernel slow startup Solution: remove usbphy reset 500ms wait Verify: marconi platform insert U disk, power on boot verify OK Change-Id: Ieb01e59ad428f98c3df303c7b3bee28397970c74 Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
int amlogic_new_usbphy_reset_v2(struct amlogic_usb_v2 *phy)
|
||||
{
|
||||
static int init_count;
|
||||
int i = 0;
|
||||
|
||||
if (!init_count) {
|
||||
init_count++;
|
||||
@@ -39,8 +38,6 @@ int amlogic_new_usbphy_reset_v2(struct amlogic_usb_v2 *phy)
|
||||
else
|
||||
writel((readl(phy->reset_regs) | (0x1 << 2)),
|
||||
phy->reset_regs);
|
||||
for (i = 0; i < 1000; i++)
|
||||
udelay(500);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user