diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-09-09 12:00:19 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-09-12 11:08:54 -0700 |
| commit | 3850d272a614189f0c5a68e89fc7ae825aedc6be (patch) | |
| tree | 17fffdd6024a9b9a4c0ecf295f9b23fd4f010429 /tools/perf/scripts/python | |
| parent | 819032fadd70cfbf1b67a48276524c80bcb8b81c (diff) | |
qcom-charger: handle get prop errors graciously
Currently the code passes on the error value it receives from the
individual property getters. This causes the read of uevent to fail.
Instead convert those errors to -ENODATA which the power supply
framework handles graciously and keeps the read of uevent entry from
failing. It simply skips reporting that property in uevent.
Change-Id: I997197c7c7315769e49342da7973a9f79ab54c80
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
