summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-04-14 21:32:49 +0300
committerSebastian Reichel <sre@kernel.org>2017-05-01 13:37:25 +0300
commit917362135b8a5c0680acf08807e9fc6179eb6c79 (patch)
treebb20f3213be8e5e6aad36ab8ab333b7c1f1d85b8 /tools/perf/scripts/python/call-graph-from-sql.py
parent2814913c3136b41084a896c90062bd9b87672dff (diff)
downloadlinux-917362135b8a5c0680acf08807e9fc6179eb6c79.tar.xz
power: supply: max17042_battery: Add default platform_data fallback data
Some x86 machines use a max17047 fuel-gauge and x86 might be missing platform_data if not provided by SFI. This commit adds default platform_data as fallback option so that the driver can work on boards where no platform_data is provided. Since not all boards have a thermistor hooked up, set temp_min to 0 and change the health checks from temp <= temp_min to temp < temp_min to not trigger on such boards (where temp reads 0). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions