mfd: arizona: Move regulator disable to after marking cache only
Subsystems (2)
PATCH RESEND 1/1 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 <[email protected]>
--- drivers/mfd/arizona-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/arizona-core.c +1 -1
@@ -438,9 +438,9 @@ static int arizona_runtime_suspend(struct device *dev) } } -regulator_disable (arizona->dcvdd);regcache_cache_only (arizona->regmap, true);regcache_mark_dirty (arizona->regmap); +regulator_disable (arizona->dcvdd);return 0 ; }
Signature · 1 line
1.7.2.5
Lee Jones
AppliedQuoted 7 lines · Charles Keepax
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 <[email protected]>--- drivers/mfd/arizona-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Signature · 8 lines
Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel