aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-28 14:04:16 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-30 05:12:23 -0500
commit13ea5813238239930d12d28bd7504a3ac6ba14d1 (patch)
tree8b516c0c242328f4427e573ca7bc086bac026505 /drivers
parent27dff048ccdc15e6680c06ab77433be948492d05 (diff)
mfd: wm5102: Mark DSP memory regions as volatile
We can cache some of them but this is simpler for now. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/wm5102-tables.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index fa91e25f1e55..ccbdd58cf9be 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -2330,6 +2330,9 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
2330 2330
2331static bool wm5102_volatile_register(struct device *dev, unsigned int reg) 2331static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
2332{ 2332{
2333 if (reg > 0xffff)
2334 return true;
2335
2333 switch (reg) { 2336 switch (reg) {
2334 case ARIZONA_SOFTWARE_RESET: 2337 case ARIZONA_SOFTWARE_RESET:
2335 case ARIZONA_DEVICE_REVISION: 2338 case ARIZONA_DEVICE_REVISION: