From: Huang Shenbo <[email protected]> Subject: USB OTG Langwell: extend VBUS SRP pulsing time.
Sometimes a-device will miss the VBUS SRP if the pulsing time is not enough. The patch modified it with a longer pulsing to resolve SRP unstable issue. Signed-off-by: Zhou Ryan <[email protected]> --- drivers/usb/otg/langwell_otg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.35-devel-kernel/drivers/usb/otg/langwell_otg.c.orig 2010-11-10 13:37:24.000000000 -0500 +++ linux-2.6.35-devel-kernel/drivers/usb/otg/langwell_otg.c 2010-11-10 13:37:56.000000000 -0500 @@ -240,7 +240,7 @@ static int langwell_otg_start_srp(struct /* Start VBus SRP, drive vbus to generate VBus pulse */ iotg->otg.set_vbus(&iotg->otg, true); - msleep(15); + msleep(70); iotg->otg.set_vbus(&iotg->otg, false); /* Enable interrupt - b_sess_vld*/ --- _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
