Hi, On Wed, Dec 14, 2016 at 05:38:51PM +0100, Hans de Goede wrote: > In order for the MSB -> LSB latching to work correctly we must read the > 2 8 bit registers of a 15 bit value in one consecutive read. > > This fixes charge_full reporting 3498768 on some reads and 3354624 one > other reads on my tablet (for the 3354624 value the raw LSB is 0x00). > > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Thanks for your patch. We are currently in the merge window and your patch will appear in linux-next once 4.10-rc1 has been tagged by Linus Torvalds. Until then I queued it into this branch: https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/log/?h=for-next-next -- Sebastian
Attachment:
signature.asc
Description: PGP signature