OSDN Git Service

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)
commit0c384fc8620f3cfd886ba969200b79a3563a92df
treec40ddd52d1150bf2f897e9013272a9c2221f07d3
parent156d07050b34605dafc8a6bf493d69b2b998d239
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