aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm5102-tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
-rw-r--r--drivers/mfd/wm5102-tables.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index ff8f0804dde3..d754596eb942 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -1795,6 +1795,10 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
1795 case ARIZONA_DSP1_STATUS_1: 1795 case ARIZONA_DSP1_STATUS_1:
1796 case ARIZONA_DSP1_STATUS_2: 1796 case ARIZONA_DSP1_STATUS_2:
1797 case ARIZONA_DSP1_STATUS_3: 1797 case ARIZONA_DSP1_STATUS_3:
1798 case ARIZONA_DSP1_SCRATCH_0:
1799 case ARIZONA_DSP1_SCRATCH_1:
1800 case ARIZONA_DSP1_SCRATCH_2:
1801 case ARIZONA_DSP1_SCRATCH_3:
1798 return true; 1802 return true;
1799 default: 1803 default:
1800 if ((reg >= 0x100000 && reg < 0x106000) || 1804 if ((reg >= 0x100000 && reg < 0x106000) ||
@@ -1849,6 +1853,10 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
1849 case ARIZONA_DSP1_STATUS_1: 1853 case ARIZONA_DSP1_STATUS_1:
1850 case ARIZONA_DSP1_STATUS_2: 1854 case ARIZONA_DSP1_STATUS_2:
1851 case ARIZONA_DSP1_STATUS_3: 1855 case ARIZONA_DSP1_STATUS_3:
1856 case ARIZONA_DSP1_SCRATCH_0:
1857 case ARIZONA_DSP1_SCRATCH_1:
1858 case ARIZONA_DSP1_SCRATCH_2:
1859 case ARIZONA_DSP1_SCRATCH_3:
1852 case ARIZONA_HEADPHONE_DETECT_2: 1860 case ARIZONA_HEADPHONE_DETECT_2:
1853 case ARIZONA_MIC_DETECT_3: 1861 case ARIZONA_MIC_DETECT_3:
1854 return true; 1862 return true;