aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorIkjoon Jang <[email protected]>2020-09-03 03:04:40 +0000
committerSebastian Reichel <[email protected]>2020-10-06 09:46:53 +0000
commit8ae237ec0af9f754c1da00913646f3c46a99a1cb (patch)
treea8e4ce2beaa7a0f1246c32af1b26fa539d7a3bfe /lib/test_xarray.c
parentpower: supply: bq25980: Add support for the BQ259xx family (diff)
downloadkernel-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