[AIO] Kernel->drivers:pull down usb pin when reboot

This commit is contained in:
lizs
2017-11-30 14:21:46 +08:00
committed by cjp
parent 8d8b3a5afa
commit ff376246e1

View File

@ -1018,6 +1018,8 @@ static int rk_usb_control_probe(struct platform_device *pdev)
ret = err;
goto out;
}
gpio_direction_output(control_usb->host_gpios->gpio, 0);
mdelay(2);
gpio_direction_output(control_usb->host_gpios->gpio, 1);
}