Skip to contentSkip to conversation

mfd: wm5102: Add readback of DSP status 3 register

PATCH Applied Mark Brown 2 participants 2 messages Dec 1, 2012 – Dec 9, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: wm5102: Add readback of DSP status 3 register

---
 drivers/mfd/wm5102-tables.c           |    2 ++
 include/linux/mfd/arizona/registers.h |    1 +
 2 files changed, 3 insertions(+)
drivers/mfd/wm5102-tables.c +2 -0
index e9063ab..b82a003 100644
@@ -1822,6 +1822,7 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
 	case ARIZONA_DSP1_CLOCKING_1:
 	case ARIZONA_DSP1_STATUS_1:
 	case ARIZONA_DSP1_STATUS_2:
+	case ARIZONA_DSP1_STATUS_3:
 		return true;
 	default:
 		if ((reg >= 0x100000 && reg < 0x106000) ||
@@ -1878,6 +1879,7 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
 	case ARIZONA_AOD_IRQ_RAW_STATUS:
 	case ARIZONA_DSP1_STATUS_1:
 	case ARIZONA_DSP1_STATUS_2:
+	case ARIZONA_DSP1_STATUS_3:
 	case ARIZONA_HEADPHONE_DETECT_2:
 	case ARIZONA_MIC_DETECT_3:
 		return true;
include/linux/mfd/arizona/registers.h +1 -0
index ba26e99..1f6fe31 100644
@@ -981,6 +981,7 @@
 #define ARIZONA_DSP1_CLOCKING_1                  0x1101
 #define ARIZONA_DSP1_STATUS_1                    0x1104
 #define ARIZONA_DSP1_STATUS_2                    0x1105
+#define ARIZONA_DSP1_STATUS_3                    0x1106
 #define ARIZONA_DSP2_CONTROL_1                   0x1200
 #define ARIZONA_DSP2_CLOCKING_1                  0x1201
 #define ARIZONA_DSP2_STATUS_1                    0x1204
Signature · 1 line
1.7.10.4
Applied
#1 lore raw

Hi Mark,

Quoted 5 lines · Mark Brown
---
 drivers/mfd/wm5102-tables.c           |    2 ++
 include/linux/mfd/arizona/registers.h |    1 +
 2 files changed, 3 insertions(+)

Applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/