Skip to content

Commit

Permalink
mfd: wm5102: Mark DSP memory regions as volatile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Nov 30, 2012
1 parent 27dff04 commit 13ea581
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mfd/wm5102-tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 13ea581

Please sign in to comment.