commit | 14d60bdd1ef58e3e0913f049c88daeed91a43387 | [log] [tgz] |
---|---|---|
author | Liu Xiang <liuxiang_1999@126.com> | Wed Sep 21 22:17:34 2016 +0800 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Oct 19 05:06:32 2016 +0200 |
tree | fd3dbdebadecdd550e7d08746d423c5f59a7287b | |
parent | 950b6c2d110e8df65b9d2704cc7039f3d0d9f7b2 [diff] |
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: Liu Xiang <liu.xiang6@zte.com.cn> Signed-off-by: Sebastian Reichel <sre@kernel.org>