diff options
| author | Ikjoon Jang <[email protected]> | 2020-09-03 03:04:40 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2020-10-06 09:46:53 +0000 |
| commit | 8ae237ec0af9f754c1da00913646f3c46a99a1cb (patch) | |
| tree | a8e4ce2beaa7a0f1246c32af1b26fa539d7a3bfe /lib/test_xarray.c | |
| parent | power: supply: bq25980: Add support for the BQ259xx family (diff) | |
| download | kernel-8ae237ec0af9f754c1da00913646f3c46a99a1cb.tar.gz kernel-8ae237ec0af9f754c1da00913646f3c46a99a1cb.zip | |
power: supply: sbs-battery: keep error code when get_property() fails
Commit 395a7251dc2b (power: supply: sbs-battery: don't assume
i2c errors as battery disconnect) overwrites the original error code
returned from internal functions. On such a sporadic i2c error,
a user will get a wrong value without errors.
Fixes: 395a7251dc2b (power: supply: sbs-battery: don't assume i2c errors as battery disconnect)
Signed-off-by: Ikjoon Jang <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
