diff options
| author | Hemant Kumar <hemantk@codeaurora.org> | 2017-07-27 15:11:25 -0700 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2017-07-28 16:36:54 -0700 |
| commit | c5c2ca0587c70176def2cf049d20c55d3656444b (patch) | |
| tree | 29d418ea212c2883c8dde865716df4928286cad0 /drivers/usb/class/cdc-acm.c | |
| parent | 0a57938d144e24ea7ef6b56ae6b2d4d732060f00 (diff) | |
usb: dwc3: dwc3-msm: Handle floating charger PMI notification properly
When floating charger is detected, driver first notifies -ETIMEDOUT to
PMI after 10 sec and then stops peripheral by simulating cable disconnect.
As part of disconnect it notifies PMI to draw 0ma which PMI re-interprets
as a SDP in bus suspend state and reconfigures PMI for SDP. Hence send
charger current notification only as part of cable disconnect simulation
by checking charger type.
Change-Id: Ibafe8d52fa14ff32b6cb11e9f6e15a4f3f147d7a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
