summaryrefslogtreecommitdiff
path: root/drivers/misc/sram.h
diff options
context:
space:
mode:
authorIkjoon Jang <ikjn@chromium.org>2020-09-03 11:04:40 +0800
committerSebastian Reichel <sre@kernel.org>2020-10-06 11:46:53 +0200
commit8ae237ec0af9f754c1da00913646f3c46a99a1cb (patch)
treea8e4ce2beaa7a0f1246c32af1b26fa539d7a3bfe /drivers/misc/sram.h
parent5069185fc18e810715a91d80fcd075e03add600c (diff)
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 <ikjn@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/misc/sram.h')
0 files changed, 0 insertions, 0 deletions