diff options
| author | Chun Zhang <chunz@codeaurora.org> | 2016-04-05 23:36:54 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-07-11 18:56:22 -0700 |
| commit | 01d202d756900e3f0f88bf9b184dbcad6874b41b (patch) | |
| tree | 137cbf095c8dd5ed864458284d73622a7d7f02d9 /tools/perf/scripts/python | |
| parent | 9eb8b67fe9eef65412d630e0ab3d90300a601450 (diff) | |
leds: qpnp-flash-v2: add callback for max current query
Flash LED is a high energy aggregator from system as it is capable
to provide current up to 3750mA for illumination. Therefore, it
should be used with caution especially when battery state of charge
is low. Therefore, add a function which can be used by clients like
camera to query the flash current limit before using flash LED. This
protects the system from a possible UVLO condition.
CRs-Fixed: 964855
Change-Id: I17fa4f28cc151e3a3ad89d284995a3fa770bec68
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
