summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAshay Jaiswal <ashayj@codeaurora.org>2017-05-18 15:28:31 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-23 23:22:42 -0700
commite697192c09fbc46a90fa9594783a83c4fa10bf7f (patch)
treeafddf2985c4b105021056f1c7ae3f0cdeb8324ca /tools/perf/scripts/python/netdev-times.py
parent60be71604a84d2e047215cb702d6324379a353bb (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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions