projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27dff04
)
mfd: wm5102: Mark DSP memory regions as volatile
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 28 Nov 2012 19:04:16 +0000
(19:04 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 30 Nov 2012 10:12:23 +0000
(11:12 +0100)
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>
drivers/mfd/wm5102-tables.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm5102-tables.c
b/drivers/mfd/wm5102-tables.c
index
fa91e25
..
ccbdd58
100644
(file)
--- 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)
static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
{
+ if (reg > 0xffff)
+ return true;
+
switch (reg) {
case ARIZONA_SOFTWARE_RESET:
case ARIZONA_DEVICE_REVISION: