OSDN Git Service

qmp-phy: Power down PHY durng disconnect to avoid leakage
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Thu, 17 May 2018 12:26:01 +0000 (17:56 +0530)
committerVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Mon, 4 Jun 2018 07:47:02 +0000 (13:17 +0530)
commit492e7daf22963eb03509937576c114697f1bca71
treecf92b25bd26fef2029b4e9a7f9b4c434adfaf88f
parentfd95dadf54bf08e910a4cad0bbce8d25e8813429
qmp-phy: Power down PHY durng disconnect to avoid leakage

Currently driver is not powering down QMP PHY if target is booted
up without cable connected. Due to this, 0.3mA leakage current is seen
during standby mode if power measured after bootup. Fix this by
putting QMP PHY in power down state during disconnect.

Change-Id: Idbf7e06ca14649797c50853cf3b9ee182f70749e
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
drivers/usb/phy/phy-msm-ssusb-qmp.c