USB: msm_otg: Increase data contact detection timeout

Battery charging specification allows data contact detection (DCD)
timeout to be any value between 300 and 900 msec.  As DCD is reliably
working, increase the timeout for detecting slow cable insertion cases.
DCD would fail with ACA-dock and ACA-A + HS/FS device.  Use 750 msec
as timeout.  The 150 msec (900 - 750) safe guard time compensates the
time taken from session valid to DCD enable.  Decrese the DCD polling
period from 100 msec to 50 msec to exit DCD state quickly.

The 150 msec safe guard time compensates the time taken from session valid
to starting charger detection procedure.

CRs-Fixed: 437484
Change-Id: Iecfcd58e4d8f13521061ce795cbf394eb2eab71d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2 files changed