power: supply: axp288_fuel_gauge: Read 15 bit values 2 registers at a time
Hans de Goede authored

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
4949fc5e
Name Last commit Last update
Documentation dt-bindings: power: supply: bq24735: reverse the polarity of ac-detect
arch powerpc: Fix build warning on 32-bit PPC
block ktime: Cleanup ktime_set() usage
certs certs: Add a secondary system keyring that can be added to dynamically
crypto Merge tag 'docs-4.10-2' of git://git.lwn.net/linux
drivers power: supply: axp288_fuel_gauge: Read 15 bit values 2 registers at a time
firmware WHENCE: use https://linuxtv.org for LinuxTV URLs
fs ktime: Get rid of ktime_equal()
include Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
init mm: add PageWaiters indicating tasks are waiting for a page bit
ipc ipc/sem: avoid idr tree lookup for interrupted semop
kernel Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
lib Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
mm mm: add PageWaiters indicating tasks are waiting for a page bit
net ktime: Get rid of ktime_equal()
samples Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
scripts Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
security Replace <asm/uaccess.h> with <linux/uaccess.h> globally
sound ktime: Cleanup ktime_set() usage
tools Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
usr initramfs: allow again choice of the embedded initram compression algorithm
virt Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.