diff options
| author | Ankit Sharma <ansharma@codeaurora.org> | 2017-03-22 19:04:52 +0530 |
|---|---|---|
| committer | Ankit Sharma <ansharma@codeaurora.org> | 2017-04-18 12:26:56 +0530 |
| commit | e5316ea0f17e88eda0b2931f6e53cdfcca066173 (patch) | |
| tree | acc85e0cec52d1eaaef9d06767f01fc03050a30a /include/linux | |
| parent | 7f0d77b390e15aa9ea4b517aec21a0e88e02f5a0 (diff) | |
leds: qpnp-flash-v2: Enable charger mitigation
When the charger mitigation is configured based on SW,
enable it locally when the total brightness (or current
level) of all torch/flash LED devices is greater than 1 A.
CRs-Fixed: 2011199
Change-Id: I8336b3201f0780855c3dc3633179c398b9f62162
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/leds-qpnp-flash.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/leds-qpnp-flash.h b/include/linux/leds-qpnp-flash.h index 4b5a339970fa..1fe6e1709fa6 100644 --- a/include/linux/leds-qpnp-flash.h +++ b/include/linux/leds-qpnp-flash.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -18,7 +18,6 @@ #define ENABLE_REGULATOR BIT(0) #define DISABLE_REGULATOR BIT(1) #define QUERY_MAX_CURRENT BIT(2) -#define PRE_FLASH BIT(3) #define FLASH_LED_PREPARE_OPTIONS_MASK GENMASK(3, 0) |
