mfd: arizona: Move regulator disable to after marking cache only
commite293e847275b2d1a4768ca25f0933a70b2383016
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 6 Aug 2013 16:18:35 +0000 (6 17:18 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Aug 2013 17:53:01 +0000 (14 18:53 +0100)
tree46f64a33afda0e3200226a46bbc20c2bae4e5656
parente0e2e6ec5dec3a86697588cc2bea2ce07da28d5b
mfd: arizona: Move regulator disable to after marking cache only

If we disable DCVDD before we mark the cache as cache only, we might
attempt to write to the chip whilst it is powered down and lose a write.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c