Skip to content
Commit 0188155a authored by Michael Heinemann's avatar Michael Heinemann Committed by Sebastian Reichel
Browse files

power: supply: sbs-battery: correct capacity mode selection bits



The capacity mode bit is bit 15. Currently it is written as
default initialized enum and never shifted. This leads to
a behaviour where the BATTERY_MODE is not correctly
recognized and set again.

This commit initializes the enum accordingly.

Signed-off-by: default avatarMichael Heinemann <committed@heine.so>
Tested-by: default avatarPhil Reid <preid@electromag.com.au>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
parent 520eccdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment