diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2018-12-20 13:51:24 -0600 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-01-20 22:38:35 +0100 |
| commit | 6f12e46eebf1a7d4fdd66df5e815df96b8f8b1b5 (patch) | |
| tree | 3ab79ed9bac528edf0c60f0f97fd6bf6d74e9611 /tools/perf/scripts/python/bin | |
| parent | drivers: power: supply: goldfish_battery: Use tabs for alignment (diff) | |
| download | linux-6f12e46eebf1a7d4fdd66df5e815df96b8f8b1b5.tar.gz linux-6f12e46eebf1a7d4fdd66df5e815df96b8f8b1b5.zip | |
power: twl4030: fix a missing check of return value
If twl4030_bci_read() fails, the read data in "s" is incorrect,
which is however used in the following execution. The fix checks
the return value of twl4030_bci_read() and returns an error code
upstream upon the failure of twl4030_bci_read().
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
