mfd: wm5102: Add readback of DSP status 3 register
Subsystems (2)
PATCH 1/1 mfd: wm5102: Add readback of DSP status 3 register
Signed-off-by Mark Brown <[email protected]>
--- 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
@@ -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
@@ -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
Samuel Ortiz
AppliedHi Mark,
Quoted 5 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>--- 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/