USB: msm_otg: Turn-off VDP_SRC on DCP disconnect

As per BC1.2 compliance, portable device should supply
VDP_SRC after detecting DCP or dedicated charging port.
Driver currently doesn't disable VDP_SRC when charger
is disconnected. This fails compliance tests as the
testing device mistakenly assumes VDP_SRC as successful
DCD stage and runs Primary Detection test where as
portable device is yet to initiate DCD as per its state
machine. After some time both goes out of sync resulting
in failures.

CRs-Fixed: 532213
Change-Id: I05eed7160b6a44179eddae3f1c50953f61cfa896
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
1 file changed