diff options
| author | Krzysztof Kozlowski <[email protected]> | 2015-06-08 10:11:38 +0900 | 
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2015-06-10 16:14:03 +0200 | 
| commit | a6e6b63ee2798f18e0e786feb407cc7846077ea3 (patch) | |
| tree | 936d2fcd154eb8fe50ffc7eb9624cb1dc00904a3 /net/unix/af_unix.c | |
| parent | 5c6e3a97e969e978368df83239583771c936efea (diff) | |
power_supply: max17042: Add OF support for setting thresholds
The commit edd4ab055931 ("power: max17042_battery: add HEALTH and TEMP_*
properties support") added support for setting voltage and temperature
thresholds with platform data. For DeviceTree default of 0 was always
used.
This caused reporting battery health always as over voltage or
over heated.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Fixes: edd4ab055931 ("power: max17042_battery: add HEALTH and TEMP_* properties support")
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions