mfd: wm5102: Add readback of DSP status 3 register
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
b7dea5dc5b
commit
be2f6f5a78
|
@ -2336,6 +2336,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:
|
||||
return false;
|
||||
|
@ -2386,6 +2387,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;
|
||||
|
|
|
@ -979,6 +979,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
|
||||
|
|
Loading…
Reference in New Issue