Re: [PATCH] power: max17040: Change register transaction length from 8 bits to 16 bits

2016-10-18 Thread Sebastian Reichel
Hi, On Wed, Sep 21, 2016 at 10:17:34PM +0800, Liu Xiang wrote: > 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 tr

[PATCH] power: max17040: Change register transaction length from 8 bits to 16 bits

2016-09-21 Thread Liu Xiang
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 ---