diff options
| author | Ashay Jaiswal <ashayj@codeaurora.org> | 2017-05-18 15:28:31 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-23 23:22:42 -0700 |
| commit | e697192c09fbc46a90fa9594783a83c4fa10bf7f (patch) | |
| tree | afddf2985c4b105021056f1c7ae3f0cdeb8324ca /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 60be71604a84d2e047215cb702d6324379a353bb (diff) | |
qpnp: smb2: fix ICL recovery mechanism
ICL recovery mechanism is used by user space daemon
to recover from adapter collapse during voltage increment
event by reducing the USB ICL. There could be a situation
where nobody votes on usb_icl_votable and this could lead
to a negative ICL value.
Fix this by reading "HW_CURRENT_MAX" property to get ICL in
situations where usb_icl_votable is not voted by any client,
this ensures ICL reduction will always vote a valid ICL.
CRs-Fixed: 2048330
Change-Id: I8e53a945530c1685aaaba0537d16ac5fb11858df
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
