]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: axp20x: Mark axp288 CHRG_BAK_CTRL register volatile
authorHans de Goede <hdegoede@redhat.com>
Fri, 22 Dec 2017 12:35:09 +0000 (13:35 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Jan 2018 11:03:35 +0000 (11:03 +0000)
commit58978713cfb38d060a80a2514c6a392f8a1083c2
treec40ddd52d1150bf2f897e9013272a9c2221f07d3
parent2a451cc1970b7632a7a005eace9cfce042120d65
mfd: axp20x: Mark axp288 CHRG_BAK_CTRL register volatile

The input current limit bits get updated by the charger detection logic,
so we should not cache the contents of this register.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x.c