mfd: wm5102: Add readback of DSP status 3 register
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Dec 2012 14:40:30 +0000 (15:40 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 9 Dec 2012 14:40:52 +0000 (15:40 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm5102-tables.c
include/linux/mfd/arizona/registers.h

index 005de63d01d63eac348dcca97334867a7cad6bda..8844b2f9de87a87293738513f72688ca7e662420 100644 (file)
@@ -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;
index 7671a287dfee4f592e909c15bcc0c14cac47bb7a..81bca23c9a922c9f6153aef73a0276b5356177ca 100644 (file)
 #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
This page took 0.036508 seconds and 5 git commands to generate.