usb: Vote against power collapse when USB cable is connected
Allowing idle power collapse when usb cable connected can
cause power/performance impact during mass storage data
transfer due to continuous polling from windows host.
CRs-Fixed: 344607
Change-Id: Ic8d35de44631ba5539d68964bef76dd21bd83751
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064.c b/arch/arm/mach-msm/board-8064.c
index 7da3d1d..01879bc 100644
--- a/arch/arm/mach-msm/board-8064.c
+++ b/arch/arm/mach-msm/board-8064.c
@@ -2220,6 +2220,10 @@
apq8064_init_pmic();
if (machine_is_apq8064_liquid())
msm_otg_pdata.mhl_enable = true;
+
+ msm_otg_pdata.swfi_latency =
+ msm_rpmrs_levels[0].latency_us + 1;
+
apq8064_device_otg.dev.platform_data = &msm_otg_pdata;
apq8064_ehci_host_init();
apq8064_init_buses();