Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14d60bdd authored by Liu Xiang's avatar Liu Xiang Committed by Sebastian Reichel
Browse files

power: supply: max17040: Change register transaction length from 8 bits to 16 bits



According to the datasheet, MAX17040 has six 16-bit registers.
Register reads and writes are only valid if all 16 bits are transferred.
Any write command that is terminated early is ignored.
So it's better to change register transacton length from 8 bits to 16 bits.

Signed-off-by: default avatarLiu Xiang <liu.xiang6@zte.com.cn>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 950b6c2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment